CVE-2019-16168
published 2019-09-09CVE-2019-16168: In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz…
PriorityP431medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
4.22%
89.9th percentile
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field, aka a "severe division by zero in the query planner."
Affected
37 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | sqlite3 | < sqlite3 3.29.0-2 (bookworm) | sqlite3 3.29.0-2 (bookworm) |
| fedoraproject | fedora | — | — |
| ghost | sqlite3 | >= 0 < 3.29.0-2 | 3.29.0-2 |
| ghost | sqlite3 | >= 0 < 3.29.0-2 | 3.29.0-2 |
| ghost | sqlite3 | >= 0 < 3.29.0-2 | 3.29.0-2 |
| ghost | sqlite3 | >= 0 < 3.29.0-2 | 3.29.0-2 |
| ghost | sqlite3 | >= 0 < 3.11.0-1ubuntu1.3 | 3.11.0-1ubuntu1.3 |
| ghost | sqlite3 | >= 0 < 3.22.0-1ubuntu0.2 | 3.22.0-1ubuntu0.2 |
| mcafee | policy_auditor | < 6.5.1 | 6.5.1 |
| msrc | azl3_ceph_16.2.10-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_ceph_18.2.1-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_heimdal_7.8.0-3_on_azure_linux_3.0 | — | — |
| msrc | azl3_mozjs_102.15.1-1_on_azure_linux_3.0 | — | — |
| msrc | azl3_nss_3.96.1-3_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_ceph_16.2.10-7_on_cbl_mariner_2.0 | — | — |
| netapp | active_iq_unified_manager | >= 7.3 | — |
| netapp | active_iq_unified_manager | >= 9.5 | — |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_oracle7.5MEDIUM
vendor_ubuntu7.5HIGH
vendor_debian6.5MEDIUM
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Oracle
Oracle Oracle Fusion Middleware Risk Matrix: DC-Specific Component (SQLite) — CVE-2019-16168
vendor_oracle·2020-04-15·CVSS 7.5
CVE-2019-16168 [MEDIUM] Oracle Oracle Fusion Middleware Risk Matrix: DC-Specific Component (SQLite) — CVE-2019-16168
Oracle Oracle Fusion Middleware Risk Matrix: DC-Specific Component (SQLite) vulnerability
CVE: CVE-2019-16168
CVSS: 7.5
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpuapr2020 (APR 2020)
Oracle
Oracle Oracle Communications Applications Risk Matrix: Core (SQLite) — CVE-2019-16168
vendor_oracle·2020-01-15·CVSS 7.5
CVE-2019-16168 [MEDIUM] Oracle Oracle Communications Applications Risk Matrix: Core (SQLite) — CVE-2019-16168
Oracle Oracle Communications Applications Risk Matrix: Core (SQLite) vulnerability
CVE: CVE-2019-16168
CVSS: 7.5
Protocol: HTTP
Remote exploit: Yes
Affected versions: Network
Advisory: cpujan2020 (JAN 2020)
Ubuntu
SQLite vulnerabilities
vendor_ubuntu·2019-12-02·CVSS 7.5
CVE-2018-8740 [HIGH] SQLite vulnerabilities
Title: SQLite vulnerabilities
Summary: Several security issues were fixed in SQLite.
It was discovered that SQLite incorrectly handled certain schemas.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 12.04 ESM. (CVE-2018-8740)
It was discovered that SQLite incorrectly handled certain schemas.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 19.04.
(CVE-2019-16168)
It was discovered that SQLite incorrectly handled certain schemas.
An attacker could possibly use this issue to mishandles some expressions.
This issue only affected Ubuntu 19.04 and Ubuntu 19.10. (CVE-2019-19242)
It was discovered that SQLite incorrectly handled certain querie
Microsoft
In SQLite through 3.29.0 whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field aka a "severe division by zero in the que
vendor_msrc·2019-09-10·CVSS 6.5
CVE-2019-16168 [MEDIUM] CWE-369 In SQLite through 3.29.0 whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field aka a "severe division by zero in the que
In SQLite through 3.29.0 whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field aka a "severe division by zero in the query planner."
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we wil
Red Hat
sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
vendor_redhat·2019-08-15·CVSS 6.5
CVE-2019-16168 [MEDIUM] CWE-369 sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field, aka a "severe division by zero in the query planner."
Statement: The SQLite package as shipped with Red Hat Enterprise Linux 7 and previous versions are not affected by this flaw. The bug was introduced on sqlite-3.8.5 while Red Hat Enterprise Linux 7 and previous releases ships sqlite <= 3.7.17.
Mitigation: An user can mitigate the risk of this vulnerability by:
1) Avoid using ANALYZE command on queries;
2) Disabling the PRAGMA optimize for affected SQLite instances;
Package: sqlite (Red Hat Enterprise Linux 5) - Not affected
Package: sqlite (Red Hat Enterprise L
Debian
CVE-2019-16168: sqlite3 - In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browse...
vendor_debian·2019·CVSS 6.5
CVE-2019-16168 [MEDIUM] CVE-2019-16168: sqlite3 - In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browse...
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field, aka a "severe division by zero in the query planner."
Scope: local
bookworm: resolved (fixed in 3.29.0-2)
bullseye: resolved (fixed in 3.29.0-2)
forky: resolved (fixed in 3.29.0-2)
sid: resolved (fixed in 3.29.0-2)
trixie: resolved (fixed in 3.29.0-2)
GHSA
GHSA-m2vp-56p6-9q2h: In SQLite through 3
ghsa_unreviewed·2022-05-24
CVE-2019-16168 [MEDIUM] CWE-369 GHSA-m2vp-56p6-9q2h: In SQLite through 3
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field, aka a "severe division by zero in the query planner."
OSV
sqlite3 vulnerabilities
osv·2019-12-02·CVSS 7.5
CVE-2018-8740 [HIGH] sqlite3 vulnerabilities
sqlite3 vulnerabilities
It was discovered that SQLite incorrectly handled certain schemas.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 12.04 ESM. (CVE-2018-8740)
It was discovered that SQLite incorrectly handled certain schemas.
An attacker could possibly use this issue to cause a denial of service.
This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 19.04.
(CVE-2019-16168)
It was discovered that SQLite incorrectly handled certain schemas.
An attacker could possibly use this issue to mishandles some expressions.
This issue only affected Ubuntu 19.04 and Ubuntu 19.10. (CVE-2019-19242)
It was discovered that SQLite incorrectly handled certain queries.
An attacker could possibly use this issue to execute arbitr
OSV
CVE-2019-16168: In SQLite through 3
osv·2019-09-09·CVSS 6.5
CVE-2019-16168 [MEDIUM] CVE-2019-16168: In SQLite through 3
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field, aka a "severe division by zero in the query planner."
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-16168 mingw-sqlite: sqlite: division by zero in whereLoopAddBtreeIndex in sqlite3.c [epel-7]
bugzilla·2019-11-05·CVSS 6.5
CVE-2019-16168 [MEDIUM] CVE-2019-16168 mingw-sqlite: sqlite: division by zero in whereLoopAddBtreeIndex in sqlite3.c [epel-7]
CVE-2019-16168 mingw-sqlite: sqlite: division by zero in whereLoopAddBtreeIndex in sqlite3.c [epel-7]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-7.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
Discussion:
Use the following t
Bugzilla
CVE-2019-16168 mingw-sqlite: sqlite: division by zero in whereLoopAddBtreeIndex in sqlite3.c [fedora-all]
bugzilla·2019-11-05·CVSS 6.5
CVE-2019-16168 [MEDIUM] CVE-2019-16168 mingw-sqlite: sqlite: division by zero in whereLoopAddBtreeIndex in sqlite3.c [fedora-all]
CVE-2019-16168 mingw-sqlite: sqlite: division by zero in whereLoopAddBtreeIndex in sqlite3.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
Bugzilla
CVE-2019-16168 sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
bugzilla·2019-11-05·CVSS 6.5
CVE-2019-16168 [MEDIUM] CVE-2019-16168 sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
CVE-2019-16168 sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a sqlite_stat1 sz field, aka a "severe division by zero in the query planner."
References:
https://www.mail-archive.com/[email protected]/msg116312.html
https://www.sqlite.org/src/info/e4598ecbdd18bd82945f6029013296690e719a62
Discussion:
Created mingw-sqlite tracking bugs for this issue:
Affects: epel-7 [bug 1768989]
Affects: fedora-all [bug 1768988]
Created sqlite tracking bugs for this issue:
Affects: fedora-all [bug 1768987]
---
Created mingw-sqlite tracking bugs for this issue:
Affects: epel-7 [bug 1768989]
Affects: fedora-all [bug 1768988]
Cr
Bugzilla
CVE-2019-16168 sqlite: division by zero in whereLoopAddBtreeIndex in sqlite3.c [fedora-all]
bugzilla·2019-11-05·CVSS 6.5
CVE-2019-16168 [MEDIUM] CVE-2019-16168 sqlite: division by zero in whereLoopAddBtreeIndex in sqlite3.c [fedora-all]
CVE-2019-16168 sqlite: division by zero in whereLoopAddBtreeIndex in sqlite3.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supp
http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00032.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-10/msg00033.htmlhttps://kc.mcafee.com/corporate/index?page=content&id=SB10365https://lists.debian.org/debian-lts-announce/2020/08/msg00037.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XZARJHJJDBHI7CE5PZEBXS5HKK6HXKW2/https://security.gentoo.org/glsa/202003-16https://security.netapp.com/advisory/ntap-20190926-0003/https://security.netapp.com/advisory/ntap-20200122-0003/https://usn.ubuntu.com/4205-1/https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg116312.htmlhttps://www.oracle.com/security-alerts/cpuapr2020.htmlhttps://www.oracle.com/security-alerts/cpujan2020.htmlhttps://www.sqlite.org/src/info/e4598ecbdd18bd82945f6029013296690e719a62https://www.sqlite.org/src/timeline?c=98357d8c1263920bhttps://www.tenable.com/security/tns-2021-08https://www.tenable.com/security/tns-2021-11https://www.tenable.com/security/tns-2021-14http://lists.opensuse.org/opensuse-security-announce/2019-10/msg00032.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-10/msg00033.htmlhttps://kc.mcafee.com/corporate/index?page=content&id=SB10365https://lists.debian.org/debian-lts-announce/2020/08/msg00037.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XZARJHJJDBHI7CE5PZEBXS5HKK6HXKW2/https://security.gentoo.org/glsa/202003-16https://security.netapp.com/advisory/ntap-20190926-0003/https://security.netapp.com/advisory/ntap-20200122-0003/https://usn.ubuntu.com/4205-1/https://www.mail-archive.com/sqlite-users%40mailinglists.sqlite.org/msg116312.htmlhttps://www.oracle.com/security-alerts/cpuapr2020.htmlhttps://www.oracle.com/security-alerts/cpujan2020.htmlhttps://www.sqlite.org/src/info/e4598ecbdd18bd82945f6029013296690e719a62https://www.sqlite.org/src/timeline?c=98357d8c1263920bhttps://www.tenable.com/security/tns-2021-08https://www.tenable.com/security/tns-2021-11https://www.tenable.com/security/tns-2021-14
2019-09-09
Published