CVE-2019-16168

NameCVE-2019-16168
DescriptionIn 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."
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2340-1, ELA-666-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sqlite (PTS)jessie, jessie (lts)2.8.17-12+deb8u1fixed
stretch (lts), stretch2.8.17-14+deb9u1fixed
buster (security), buster, buster (lts)2.8.17-15+deb10u1fixed
sqlite3 (PTS)jessie, jessie (lts)3.8.7.1-1+deb8u8fixed
stretch (security)3.16.2-5+deb9u3fixed
stretch (lts), stretch3.16.2-5+deb9u4fixed
buster, buster (lts)3.27.2-3+deb10u3fixed
buster (security)3.27.2-3+deb10u2fixed
bullseye3.34.1-3fixed
bullseye (security)3.34.1-3+deb11u1fixed
bookworm3.40.1-2+deb12u1fixed
sid, trixie3.46.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sqlitesource(unstable)(not affected)
sqlite3sourcewheezy(not affected)
sqlite3sourcejessie3.8.7.1-1+deb8u7ELA-666-1
sqlite3sourcestretch3.16.2-5+deb9u2DLA-2340-1
sqlite3sourcebuster3.27.2-3+deb10u1
sqlite3source(unstable)3.29.0-2

Notes

[jessie] - sqlite3 <no-dsa> (Minor issue)
- sqlite <not-affected> (Vulnerable code introduced in 3.8.5)
https://www.mail-archive.com/sqlite-users@mailinglists.sqlite.org/msg116312.html
https://www.sqlite.org/src/info/e4598ecbdd18bd82945f6029013296690e719a62
Fixed by: https://www.sqlite.org/src/info/98357d8c1263920b (v3.30.0)
Introduced by: https://www.sqlite.org/src/info/90e36676476e8db0 (v3.8.5)
https://github.com/sqlite/sqlite/commit/725dd72400872da94dcfb6af48128905b93d57fe
[wheezy] - sqlite3 <not-affected> (Vulnerable code introduced in 3.8.5)

Search for package or bug name: Reporting problems