cve.bz

CVE-2019-16168 Divide By Zero

6.5 mediumEPSS 4.2%Fix available

Medium (6.5). EPSS 4.2% estimated probability of exploitation activity in the next 30 days.

On this page
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."

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
4.2% (unchanged from 4.2% a week ago; 4.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-369 Divide By Zero
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-16168 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-16168?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-16168?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-16168 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2019-16168

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2019-16168](https://cve.bz/cve/badge/CVE-2019-16168.svg)](https://cve.bz/cve/CVE-2019-16168)

HTML:

<a href="https://cve.bz/cve/CVE-2019-16168"><img src="https://cve.bz/cve/badge/CVE-2019-16168.svg" alt="CVE-2019-16168"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sqlite:sqlitefrom 3.8.5 through 3.29.0
netapp:active_iq_unified_manager7.3 and later
netapp:active_iq_unified_manager9.5 and later
netapp:e-series_santricity_os_controllerfrom 11.0.0 through 11.60.3
canonical:ubuntu_linux12.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.04
canonical:ubuntu_linux19.10
fedoraproject:fedora30
debian:debian_linux9.0
tenable:nessus_agentthrough 8.2.3
oracle:communications_design_studio7.3.4.3.0
oracle:communications_design_studio7.3.5.5.0
oracle:communications_design_studio7.4.0.4.0
oracle:jdk1.8.0:update231
oracle:jre1.8.0:update231
oracle:mysqlfrom 8.0.0 through 8.0.18
oracle:outside_in_technology8.5.4
oracle:solaris11
oracle:zfs_storage_appliance8.8
mcafee:policy_auditorbefore 6.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9sqlite33.16.2-5+deb9u2DLA-2340-1
Debian12, 13, 14sqlite33.29.0-2DEBIAN-CVE-2019-16168
Ubuntu16.04:LTSsqlite33.11.0-1ubuntu1.3UBUNTU-CVE-2019-16168 USN-4205-1
Ubuntu18.04:LTSsqlite33.22.0-1ubuntu0.2UBUNTU-CVE-2019-16168 USN-4205-1
Red Hatenterprise_linux:8::appstreamlemon, lemon-debuginfo, sqlite-debuginfo and 4 more0:3.26.0-11.el8RHSA-2020:4442
Red Hatenterprise_linux:8::baseossqlite, sqlite-doc, sqlite-libs and 7 more0:3.26.0-11.el8RHSA-2020:4442
Red Hatenterprise_linux:8::crbmingw-binutils, mingw32-binutils, mingw64-binutils and 6 more0:2.30-3.el8RHSA-2021:1968
Red Hatenterprise_linux:8::crbmingw-bzip2, mingw32-bzip2, mingw64-bzip2 and 4 more0:1.0.6-14.el8RHSA-2021:1968
Red Hatenterprise_linux:8::crbmingw-filesystem, mingw32-filesystem, mingw64-filesystem and 1 more0:104-2.el8RHSA-2021:1968
Red Hatenterprise_linux:8::crbmingw-sqlite, mingw32-sqlite, mingw64-sqlite and 4 more0:3.26.0.0-1.el8RHSA-2021:1968
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 11 moresqlite33.36.0-9.18.1SUSE-SU-2021:3215-1
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4 and 1 moresqlite33.8.10.2-9.12.1SUSE-SU-2019:2536-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1sqlite33.28.0-3.9.2SUSE-SU-2019:2533-1
openSUSELeap 15.0sqlite33.28.0-lp150.2.9.1openSUSE-SU-2019:2298-1
openSUSELeap 15.1sqlite33.28.0-lp151.2.3.1openSUSE-SU-2019:2300-1
openSUSETumbleweedsqlite33.36.0-1.2openSUSE-SU-2024:11400-1
AlmaLinux8mingw32-binutils, mingw64-binutils, mingw-binutils-generic2.30-3.el8ALSA-2021:1968
AlmaLinux8mingw32-bzip2, mingw64-bzip2, mingw32-bzip2-static and 1 more1.0.6-14.el8ALSA-2021:1968
AlmaLinux8mingw32-filesystem, mingw64-filesystem, mingw-filesystem-base104-2.el8ALSA-2021:1968
AlmaLinux8mingw32-sqlite, mingw64-sqlite, mingw32-sqlite-static and 1 more3.26.0.0-1.el8ALSA-2021:1968
Rocky Linux8mingw-binutils0:2.30-3.el8RLSA-2021:1968
Rocky Linux8mingw-bzip20:1.0.6-14.el8RLSA-2021:1968
Rocky Linux8mingw-sqlite0:3.26.0.0-1.el8RLSA-2021:1968
Alpinev3.8sqlite3.25.3-r2ALPINE-CVE-2019-16168
Alpinev3.9, v3.10sqlite3.28.0-r1ALPINE-CVE-2019-16168
Azure Linux3ceph18.2.1-1AZL-38191

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

Red Hat's 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;

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8sqlite-0:3.26.0-11.el8Fixed 2020-11-04RHSA-2020:4442
Red Hat Enterprise Linux 8mingw-binutils-0:2.30-3.el8Fixed 2021-05-18RHSA-2021:1968
Red Hat Enterprise Linux 8mingw-bzip2-0:1.0.6-14.el8Fixed 2021-05-18RHSA-2021:1968
Red Hat Enterprise Linux 8mingw-filesystem-0:104-2.el8Fixed 2021-05-18RHSA-2021:1968
Red Hat Enterprise Linux 8mingw-sqlite-0:3.26.0.0-1.el8Fixed 2021-05-18RHSA-2021:1968
Red Hat Enterprise Linux 5sqliteNot affected
Red Hat Enterprise Linux 6sqliteNot affected
Red Hat Enterprise Linux 7sqliteNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-16168.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON