CVE-2019-16168 json
In SQLite through 3.29.0, whereLoopAddBtreeIndex in sqlite3.c can crash a browser or other application because of missing validation of a s…
published 2019-09-09 7 y ago modified 2026-10-14 26 d ago also EUVD-2019-6988
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
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."
Patch / fix
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- sqlite3 Debian 14, Debian 13, Debian 12 3.29.0-2
debian advisories DEBIAN-CVE-2019-16168
- sqlite3 Ubuntu 16.04 LTS 3.11.0-1ubuntu1.3
- sqlite3 Ubuntu 18.04 LTS 3.22.0-1ubuntu0.2
ubuntu advisories UBUNTU-CVE-2019-16168
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- sqlite RHEL 8 3.26.0-11.el8
- lemon RHEL 8 3.26.0-11.el8
- sqlite-libs RHEL 8 3.26.0-11.el8
- mingw-bzip2 RHEL 8 1.0.6-14.el8
- mingw-sqlite RHEL 8 3.26.0.0-1.el8
- mingw32-bzip2 RHEL 8 1.0.6-14.el8
- mingw64-bzip2 RHEL 8 1.0.6-14.el8
- mingw-binutils RHEL 8 2.30-3.el8
red hat advisories RHSA-2020:4442RHSA-2021:1968
- sqlite3 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +11 more 3.36.0-9.18.1
- sqlite3 SLES for SAP 12 SP4, SLES 12 SP4, SLED 12 SP4 +1 more 3.8.10.2-9.12.1
- sqlite3 SLE Module for Basesystem 15 SP1, SLE Module for Basesystem 15 3.28.0-3.9.2
suse advisories SUSE-SU-2021:3215-1SUSE-SU-2019:2536-1SUSE-SU-2019:2533-1
- sqlite3 openSUSE Tumbleweed 3.36.0-1.2
- sqlite3 openSUSE Leap 15.1 3.28.0-lp151.2.3.1
- sqlite3 openSUSE Leap 15.0 3.28.0-lp150.2.9.1
opensuse advisories openSUSE-SU-2024:11400-1openSUSE-SU-2019:2300-1openSUSE-SU-2019:2298-1
- mingw32-bzip2 AlmaLinux 8 1.0.6-14.el8
- mingw64-bzip2 AlmaLinux 8 1.0.6-14.el8
- mingw32-sqlite AlmaLinux 8 3.26.0.0-1.el8
- mingw64-sqlite AlmaLinux 8 3.26.0.0-1.el8
- mingw32-binutils AlmaLinux 8 2.30-3.el8
- mingw64-binutils AlmaLinux 8 2.30-3.el8
- mingw32-filesystem AlmaLinux 8 104-2.el8
- mingw64-filesystem AlmaLinux 8 104-2.el8
almalinux advisories ALSA-2021:1968
- mingw-bzip2 Rocky Linux 8 1.0.6-14.el8
- mingw-sqlite Rocky Linux 8 3.26.0.0-1.el8
- mingw-binutils Rocky Linux 8 2.30-3.el8
rocky linux advisories RLSA-2021:1968
- sqlite Alpine 3.10, Alpine 3.9 3.28.0-r1
- sqlite Alpine 3.8 3.25.3-r2
alpine advisories ALPINE-CVE-2019-16168
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-16168 updated cvss 6.5
sqlite: Division by zero in whereLoopAddBtreeIndex in sqlite3.c
-
Red Hat CodeReady Linux Builder (v. 8) mingw-bzip2 1.0.6-14.el8, mingw-binutils 2.30-3.el8, mingw-filesystem 104-2.el8, mingw32-bzip2 1.0.6-14.el8, mingw64-bzip2 1.0.6-14.el8, mingw-sqlite 3.26.0.0-1.el8, +8 morefixed: vendor fix “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;” RHSA-2021:1968
-
Red Hat Enterprise Linux AppStream (v. 8) lemon 3.26.0-11.el8 Red Hat Enterprise Linux BaseOS (v. 8) sqlite 3.26.0-11.el8, sqlite-libs 3.26.0-11.el8fixed: vendor fix “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;” RHSA-2020:4442
-
Red Hat Enterprise Linux 5 sqlite Red Hat Enterprise Linux 6 lemon, sqlite, sqlite-tcl Red Hat Enterprise Linux 7 lemon, sqlite, sqlite-tclnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 6.5
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
4.22% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected products
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-369 Divide By Zero
- Technology feeds
References
-
sqlite.org
/src/timeline?c=98357d8c1263920b
patch, vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-10/msg00033.html
vendor-advisory, broken-link
-
lists.opensuse.org
/opensuse-security-announce/2019-10/msg00032.html
vendor-advisory, broken-link
-
usn.ubuntu.com
/4205-1/
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/XZARJHJJDBHI7CE5PZEBXS5HKK6HXKW2/
vendor-advisory
-
security.gentoo.org
/glsa/202003-16
vendor-advisory, third-party-advisory
-
sqlite.org
/src/info/e4598ecbdd18bd82945f6029013296690e719a62
vendor-advisory
- mail-archive.com /sqlite-users%40mailinglists.sqlite.org/msg116312.html
-
security.netapp.com
/advisory/ntap-20190926-0003/
third-party-advisory
-
oracle.com
/security-alerts/cpujan2020.html
third-party-advisory
-
security.netapp.com
/advisory/ntap-20200122-0003/
third-party-advisory
-
oracle.com
/security-alerts/cpuapr2020.html
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/08/msg00037.html
mailing-list, third-party-advisory
-
tenable.com
/security/tns-2021-08
third-party-advisory
-
tenable.com
/security/tns-2021-11
third-party-advisory
-
tenable.com
/security/tns-2021-14
third-party-advisory
-
kc.mcafee.com
/corporate/index?page=content&id=SB10365
third-party-advisory
- cert-portal.siemens.com /productcert/html/ssa-398330.html
Sources
- CVE List CVE-2019-16168
- NVD CVE-2019-16168
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.