The sqlite3VXPrintf function in printf.c in SQLite before 3.8.9 does not properly handle…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-190 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* | 15.04 | Vulnerable | Canonical |
| cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* | up to 3.8.8.3 | Vulnerable | SQLite |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* | up to 10.6.8 | Vulnerable | Apple |
| cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:* | up to 1.0.1 | Vulnerable | Apple |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.4.0 to before 5.4.42; 5.5.0 to before 5.5.26; 5.6.0 to before 5.6.10 | Vulnerable | PHP |
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical
- cpe:2.3:a:sqlite:sqlite:*:*:*:*:*:*:*:* Versions up to 3.8.8.3 Vulnerable ·SQLite
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* Versions up to 10.6.8 Vulnerable ·Apple
- cpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:* Versions up to 1.0.1 Vulnerable ·Apple
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:* Versions 5.4.0 to before 5.4.42; 5.5.0 to before 5.5.26; 5.6.0 to before 5.6.10 Vulnerable ·PHP
Remediation
Red Hat 2 advisories
- RHSA-2015:1635 Released 2015-08-17 · Red Hat rating Moderatesqlite security update
- Red Hat Enterprise Linux Client (v. 7) sqlite-3.7.17-6.el7_1.1
- Red Hat Enterprise Linux Client Optional (v. 7) lemon-3.7.17-6.el7_1.1, sqlite-devel-3.7.17-6.el7_1.1, sqlite-doc-3.7.17-6.el7_1.1 +1
- Red Hat Enterprise Linux ComputeNode (v. 7) sqlite-3.7.17-6.el7_1.1
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) lemon-3.7.17-6.el7_1.1, sqlite-devel-3.7.17-6.el7_1.1, sqlite-doc-3.7.17-6.el7_1.1 +1
- Red Hat Enterprise Linux Server (v. 7) sqlite-3.7.17-6.ael7b_1.1, sqlite-3.7.17-6.el7_1.1, sqlite-3.7.17-6.el7_1.1.ppc +3
- Red Hat Enterprise Linux Server Optional (v. 7) lemon-3.7.17-6.ael7b_1.1, lemon-3.7.17-6.el7_1.1, sqlite-doc-3.7.17-6.ael7b_1.1 +3
- Red Hat Enterprise Linux Workstation (v. 7) sqlite-3.7.17-6.el7_1.1, sqlite-devel-3.7.17-6.el7_1.1
- Red Hat Enterprise Linux Workstation Optional (v. 7) lemon-3.7.17-6.el7_1.1, sqlite-doc-3.7.17-6.el7_1.1, sqlite-tcl-3.7.17-6.el7_1.1
- RHSA-2015:1634 Released 2015-08-17 · Red Hat rating Moderatesqlite security update
- Red Hat Enterprise Linux Desktop (v. 6) sqlite-3.6.20-1.el6_7.2
- Red Hat Enterprise Linux Desktop Optional (v. 6) lemon-3.6.20-1.el6_7.2, sqlite-devel-3.6.20-1.el6_7.2, sqlite-doc-3.6.20-1.el6_7.2 +1
- Red Hat Enterprise Linux HPC Node (v. 6) sqlite-3.6.20-1.el6_7.2
- Red Hat Enterprise Linux HPC Node Optional (v. 6) lemon-3.6.20-1.el6_7.2, sqlite-devel-3.6.20-1.el6_7.2, sqlite-doc-3.6.20-1.el6_7.2 +1
- Red Hat Enterprise Linux Server (v. 6) sqlite-3.6.20-1.el6_7.2, sqlite-3.6.20-1.el6_7.2.ppc, sqlite-devel-3.6.20-1.el6_7.2 +1
- Red Hat Enterprise Linux Server Optional (v. 6) lemon-3.6.20-1.el6_7.2, sqlite-doc-3.6.20-1.el6_7.2, sqlite-tcl-3.6.20-1.el6_7.2
- Red Hat Enterprise Linux Workstation (v. 6) sqlite-3.6.20-1.el6_7.2, sqlite-devel-3.6.20-1.el6_7.2
- Red Hat Enterprise Linux Workstation Optional (v. 6) lemon-3.6.20-1.el6_7.2, sqlite-doc-3.6.20-1.el6_7.2, sqlite-tcl-3.6.20-1.el6_7.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2015:1635 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2015:1635 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2015:1635 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2015:1635 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2015:1634 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2015:1634 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2015:1634 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2015:1634 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:1634 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:1635 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2015:1634 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2015:1635 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:1634 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:1635 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2015:1634 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2015:1635 |
Timeline
- 2026-10-02 Threatist record created from CVE-2015-3416
- 2026-10-03 Alias added: GHSA-33jw-h57w-fr79
References
Advisory 13
- RHSA-2015:1634
- RHSA-2015:1635
- APPLE-SA-2015-09-30-3
- GLSA-201507-05
- USN-2698-1
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- http://www.sqlite.org/src/info/c494171f77dc2e5e04cb6d865e688448f04e5920
- https://support.apple.com/HT205267
- APPLE-SA-2015-09-21-1
- MDVSA-2015:217
- https://support.apple.com/HT205213
- DSA-3252
- 20150414 several issues in SQLite (+ catching up on several other bugs)
Sources
- CVE-2015-3416 · CVE Program
- CVE-2015-3416 · NVD
- FIRST EPSS
- GHSA-33jw-h57w-fr79 · GitHub Advisory Database · CC BY 4.0
- CVE-2015-3416 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences