Skip to content
OpenAdvisories
Medium · 6.5 CVE-2019-16168 EUVD-2019-6988GHSA-m2vp-56p6-9q2h

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 Sep 9, 2019 · Updated Oct 14, 2026 · Assigned by mitre

Description

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."

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 sqlite3 3.29.0-2 —
Debian 13 sqlite3 3.29.0-2 —
Debian 12 sqlite3 3.29.0-2 —
Debian 9 sqlite3 3.16.2-5+deb9u2 DLA-2340-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS sqlite3 3.22.0-1ubuntu0.2 USN-4205-1
Ubuntu 16.04 LTS sqlite3 3.11.0-1ubuntu1.3 USN-4205-1
ReleasePackageFixed inAdvisory
RHEL 8 lemon +4 3.26.0-11.el8 RHSA-2020:4442
RHEL 8 mingw-binutils +3 2.30-3.el8 RHSA-2021:1968
RHEL 8 mingw-bzip2 +4 1.0.6-14.el8 RHSA-2021:1968
RHEL 8 mingw-filesystem +3 104-2.el8 RHSA-2021:1968
RHEL 8 mingw-sqlite +4 3.26.0.0-1.el8 RHSA-2021:1968

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 mingw32-binutils +2 2.30-3.el8 ALSA-2021:1968
AlmaLinux 8 mingw32-bzip2 +3 1.0.6-14.el8 ALSA-2021:1968
AlmaLinux 8 mingw32-filesystem +2 104-2.el8 ALSA-2021:1968
AlmaLinux 8 mingw32-sqlite +3 3.26.0.0-1.el8 ALSA-2021:1968

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 mingw-binutils 2.30-3.el8 RLSA-2021:1968
Rocky Linux 8 mingw-bzip2 1.0.6-14.el8 RLSA-2021:1968
Rocky Linux 8 mingw-sqlite 3.26.0.0-1.el8 RLSA-2021:1968
ReleasePackageFixed inAdvisory
SLES 15 SP1 sqlite3 3.28.0-3.9.2 SUSE-SU-2019:2533-1
SLES 15 sqlite3 3.28.0-3.9.2 SUSE-SU-2019:2533-1
SLES 12 SP5 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
SLES 12 SP4 sqlite3 3.8.10.2-9.12.1 SUSE-SU-2021:3215-1, SUSE-SU-2019:2536-1
SLES 12 SP3 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
SLES for SAP 12 SP5 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
SLES for SAP 12 SP4 sqlite3 3.8.10.2-9.12.1 SUSE-SU-2021:3215-1, SUSE-SU-2019:2536-1
SLES for SAP 12 SP3 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
SUSE OpenStack Cloud Crowbar 9 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
SUSE OpenStack Cloud Crowbar 8 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
SUSE OpenStack Cloud 9 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
SUSE OpenStack Cloud 8 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
SUSE HPE Helion OpenStack 8 sqlite3 3.36.0-9.18.1 SUSE-SU-2021:3215-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed sqlite3 3.36.0-1.2 openSUSE-SU-2024:11400-1
openSUSE Leap 15.1 sqlite3 3.28.0-lp151.2.3.1 openSUSE-SU-2019:2300-1
openSUSE Leap 15.0 sqlite3 3.28.0-lp150.2.9.1 openSUSE-SU-2019:2298-1
ReleasePackageFixed inAdvisory
Alpine v3.10 sqlite 3.28.0-r1 —
Alpine v3.9 sqlite 3.28.0-r1 —
Alpine v3.8 sqlite 3.25.3-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 java-11-amazon-corretto +2 1:11.0.6+10-1.amzn2 ALAS2-2020-1387

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 ceph 18.2.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 lemon +4 3.26.0-11.el8 ELSA-2020-4442

Advisories 19

References