Name | CVE-2015-3416 |
Description | The 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-3252-1, DSA-3252-2 |
Debian Bugs | 783968 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
sqlite3 (PTS) | bullseye | 3.34.1-3 | fixed |
| bullseye (security) | 3.34.1-3+deb11u1 | fixed |
| bookworm | 3.40.1-2+deb12u1 | fixed |
| sid, trixie | 3.46.1-1 | fixed |
The information below is based on the following data on fixed versions.
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.