{"id":"CVE-2008-1391","aliases":["EDB-31550"],"kind":"cve","tier":"cold","status":"published","title":"Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and probably other BSD and Apple Mac OS platform…","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.","ai_summary":null,"severity":"high","cvss":{"score":7.5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD"},"scores":[{"score":7.5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-189"],"remote":true,"remote_unauth":true,"epss":{"score":0.18795,"percentile":0.9735,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[31550]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html","kind":"vendor"},{"url":"http://www.debian.org/security/2010/dsa-2058","kind":"vendor"},{"url":"http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html","kind":"vendor"},{"url":"http://securityreason.com/securityalert/3770","kind":"exploit"},{"url":"http://securityreason.com/achievement_securityalert/53","kind":"exploit"},{"url":"https://www.exploit-db.com/exploits/31550","kind":"exploit"},{"url":"http://www.securityfocus.com/bid/28479","kind":"other"},{"url":"http://www.securityfocus.com/archive/1/490158/100/0/threaded","kind":"other"},{"url":"http://www.vupen.com/english/advisories/2008/3444","kind":"other"},{"url":"http://www.us-cert.gov/cas/techalerts/TA08-350A.html","kind":"other"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41504","kind":"other"},{"url":"http://secunia.com/advisories/33179","kind":"other"},{"url":"http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c","kind":"other"},{"url":"http://support.apple.com/kb/HT3338","kind":"other"},{"url":"http://www.securitytracker.com/id?1019722","kind":"other"},{"url":"http://secunia.com/advisories/29574","kind":"other"}],"workarounds":null,"vendors":["freebsd","netbsd"],"products":["freebsd","netbsd"],"cpes":["cpe:2.3:o:freebsd:freebsd:6.0:*:*:*:*:*:*:*","cpe:2.3:o:freebsd:freebsd:6.0:release:*:*:*:*:*:*","cpe:2.3:o:freebsd:freebsd:6.0:stable:*:*:*:*:*:*","cpe:2.3:o:freebsd:freebsd:6.0_p5_release:*:*:*:*:*:*:*","cpe:2.3:o:freebsd:freebsd:7.0:*:*:*:*:*:*:*","cpe:2.3:o:freebsd:freebsd:7.0:pre-release:*:*:*:*:*:*","cpe:2.3:o:freebsd:freebsd:7.0_beta4:*:*:*:*:*:*:*","cpe:2.3:o:freebsd:freebsd:7.0_releng:*:*:*:*:*:*:*","cpe:2.3:o:netbsd:netbsd:4.0:*:*:*:*:*:*:*"],"published_at":"2008-03-27T00:00:00.000Z","modified_at":"2026-06-16T22:51:38.980Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1391"},{"source":"Exploit-DB","text":"Exploit metadata (ID and link only) from the Exploit Database","url":"https://www.exploit-db.com/exploits/31550"}],"links":{"html":"https://flawdb.com/CVE-2008-1391","markdown":"https://flawdb.com/CVE-2008-1391.md","json":"https://flawdb.com/api/v1/entries/CVE-2008-1391"}}