CVE-2015-3416

NameCVE-2015-3416
DescriptionThe sqlite3VXPrintf function in printf.c in SQLite before 3.8.9 does not properly handle precision and width values during floating-point conversions, which allows context-dependent attackers to cause a denial of service (integer overflow and stack-based buffer overflow) or possibly have unspecified other impact via large integers in a crafted printf function call in a SELECT statement.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-3252-1, DSA-3252-2
Debian Bugs783968

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
sqlitesourcejessie(not affected)
sqlitesourcestretch(not affected)
sqlitesourcebuster(not affected)
sqlitesource(unstable)(unfixed)
sqlite3sourcesqueeze(not affected)
sqlite3sourcewheezy3.7.13-1+deb7u2DSA-3252-2
sqlite3sourcejessie3.8.7.1-1+deb8u1DSA-3252-1
sqlite3source(unstable)3.8.9-1783968

Notes

[squeeze] - sqlite3 <not-affected> (Can't reproduce the issue)
[buster] - sqlite <not-affected> (vulnerable code introduced later)
http://www.sqlite.org/src/info/c494171f77dc2e5e
http://seclists.org/bugtraq/2015/Apr/97
https://lists.debian.org/debian-lts/2015/06/msg00031.html
width/precision limit safeguards are present in sqlite (V2), refactoring in V3 made it vulnerable.
[stretch] - sqlite <not-affected> (vulnerable code introduced later)
[jessie] - sqlite <not-affected> (vulnerable code introduced later)

Search for package or bug name: Reporting problems