Skip to content
Fencer Intel
medium 6.5

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 7y ago modified 26d 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

  • ceph Azure Linux 3.0 18.2.1-1

azure linux advisories AZL-38191

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2019-16168 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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 more
    fixed: 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.el8
    fixed: 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-tcl
    not 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.5
    affected: 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
5mo ago

Exploit prediction

4.22% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).

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
Technology feeds

References

Sources

Fencer Intel 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.