Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and probably other…
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
- No fix listed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA. Impact type from CWE-189 and the CVSS impact.
Summary
Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and probably other BSD and Apple Mac OS platforms allow context-dependent attackers to execute arbitrary code via large values of certain integer fields in the format argument to (1) the strfmon function in lib/libc/stdlib/strfmon.c, related to the GET_NUMBER macro; and (2) the printf function, related to left_prec and right_prec.
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 · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:freebsd:freebsd:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:6.0:release:*:*:*:*:*:* | 6.0 release | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:6.0:stable:*:*:*:*:*:* | 6.0 stable | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:6.0_p5_release:*:*:*:*:*:*:* | 6.0_p5_release | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:7.0:pre-release:*:*:*:*:*:* | 7.0 pre-release | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:7.0_beta4:*:*:*:*:*:*:* | 7.0_beta4 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:7.0_releng:*:*:*:*:*:*:* | 7.0_releng | Vulnerable | FreeBSD |
| cpe:2.3:o:netbsd:netbsd:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | NetBSD |
- cpe:2.3:o:freebsd:freebsd:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:6.0:release:*:*:*:*:*:* Versions 6.0 release Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:6.0:stable:*:*:*:*:*:* Versions 6.0 stable Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:6.0_p5_release:*:*:*:*:*:*:* Versions 6.0_p5_release Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:7.0:pre-release:*:*:*:*:*:* Versions 7.0 pre-release Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:7.0_beta4:*:*:*:*:*:*:* Versions 7.0_beta4 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:7.0_releng:*:*:*:*:*:*:* Versions 7.0_releng Vulnerable ·FreeBSD
- cpe:2.3:o:netbsd:netbsd:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·NetBSD
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2008-1391
- 2026-10-03 Alias added: GHSA-7w79-2w84-7wvc
References
Sources
- CVE-2008-1391 · CVE Program
- CVE-2008-1391 · NVD
- FIRST EPSS
- GHSA-7w79-2w84-7wvc · GitHub Advisory Database · CC BY 4.0
- CVE-2008-1391 · 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