{"id":"CVE-2008-1391","aliases":["DEBIAN-CVE-2008-1391","DSA-2058-1","EUVD-2008-1398","GHSA-7w79-2w84-7wvc"],"status":"published","title":"Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and probably other BSD and...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.18795,"percentile":0.97299,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-189"],"published":"2008-03-27T17:00:00Z","modified":"2026-10-23T17:47:33Z","exploits":[{"source":"exploitdb","id":"EDB-31550","title":"BSD (Multiple Distributions) - 'strfmon()' Integer Overflow","type":"dos","platform":"bsd","date":"2008-03-27","verified":true,"url":"https://www.exploit-db.com/exploits/31550"}],"fixes":[{"ecosystem":"Debian:12","package":"glibc","fixed_in":["2.11-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"glibc","fixed_in":["2.11-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"glibc","fixed_in":["2.11-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.11-1"}]}]},{"source":"osv","ecosystem":"Debian:5.0","package":"glibc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7-18lenny4"}]}],"versions":["2.7-18","2.7-18lenny1","2.7-18lenny2"],"bundled":5}],"products":[{"vendor":"freebsd","product":"freebsd"},{"vendor":"netbsd","product":"netbsd"}],"references":[{"url":"http://www.securityfocus.com/bid/28479","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://www.securityfocus.com/archive/1/490158/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2008/3444","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA08-350A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41504","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://secunia.com/advisories/33179","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://securityreason.com/securityalert/3770","tags":["third-party-advisory","x_refsource_SREASON","x_transferred","Exploit","evidence"]},{"url":"https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://securityreason.com/achievement_securityalert/53","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred","Exploit","evidence"]},{"url":"http://support.apple.com/kb/HT3338","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.debian.org/security/2010/dsa-2058","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://www.securitytracker.com/id?1019722","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://secunia.com/advisories/29574","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1391"},{"url":"https://github.com/advisories/GHSA-7w79-2w84-7wvc"},{"url":"https://security-tracker.debian.org/tracker/CVE-2008-1391","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2008-1391","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.","status":"published","published":"2008-03-27T17:00:00Z","modified":"2024-08-07T08:17:34.85Z","updated_at":"2026-11-02T14:34:48.103804Z"}],"euvd":[{"id":"EUVD-2008-1398","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.","status":"published","published":"2008-03-27T17:00:00Z","modified":"2024-08-07T08:17:34Z","updated_at":"2026-11-03T01:39:01.686266Z"}],"ghsa":[{"id":"GHSA-7w79-2w84-7wvc","title":"Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and probably other BSD and...","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.","status":"published","published":"2022-05-01T23:39:39Z","modified":"2023-01-31T05:05:44Z","updated_at":"2026-11-02T14:48:54.336052Z"}],"nvd":[{"id":"CVE-2008-1391","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.","status":"published","published":"2008-03-27T17:44:00Z","modified":"2026-06-16T22:51:38.98Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-189"],"updated_at":"2026-11-02T14:01:25.857543Z"}],"osv":[{"id":"CVE-2008-1391","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.","status":"published","published":"2008-03-27T17:44:00Z","modified":"2026-04-10T03:39:45.75545Z","updated_at":"2026-11-02T15:43:57.178433Z"},{"id":"DEBIAN-CVE-2008-1391","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.","status":"published","published":"2008-03-27T17:44:00Z","modified":"2026-10-23T17:47:33.022754145Z","updated_at":"2026-11-02T15:45:23.742363Z"},{"id":"DSA-2058-1","title":"glibc - several vulnerabilities","status":"published","published":"2010-06-10T00:00:00Z","modified":"2026-03-09T01:19:47.416856Z","updated_at":"2026-11-02T15:46:15.108335Z"}]}}
