CVE-2008-1391 EXPLOIT
7.5
HIGH · CVSS 2.0 · EPSS 18.8% (pctl 97)
Patch early
A public exploit exists.
Description
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.
Scoring
| CVSS | 7.5 (HIGH, v2.0) |
|---|---|
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| EPSS | 18.8% — more likely to be exploited than 97% of all CVEs |
| Weakness | CWE-189 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2008-03-27 |
| Last modified | 2026-06-16 |
Affected (2)
| Vendor | Product |
|---|---|
| freebsd | freebsd |
| netbsd | netbsd |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | BSD (Multiple Distributions) - 'strfmon()' Integer Overflow | 2008-03-27 |
References
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c
- http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html
- http://secunia.com/advisories/29574
- http://secunia.com/advisories/33179
- http://securityreason.com/achievement_securityalert/53
- http://securityreason.com/securityalert/3770
- http://support.apple.com/kb/HT3338
- http://www.debian.org/security/2010/dsa-2058
- http://www.securityfocus.com/archive/1/490158/100/0/threaded
- http://www.securityfocus.com/bid/28479
- http://www.securitytracker.com/id?1019722
- http://www.us-cert.gov/cas/techalerts/TA08-350A.html
- http://www.vupen.com/english/advisories/2008/3444
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41504
- https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html
- http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c
- http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html
- http://secunia.com/advisories/29574
- http://secunia.com/advisories/33179
- http://securityreason.com/achievement_securityalert/53
→ the Explorer · watch your stack · NVD