{"id":"CVE-2008-1391","state":"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 platforms allow context-dependent attackers to execute arbitrary code","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.","publishedAt":"2008-03-27T17:00:00.000Z","updatedAt":"2024-08-07T08:17:34.850Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/28479","http://www.securityfocus.com/archive/1/490158/100/0/threaded","http://www.vupen.com/english/advisories/2008/3444","http://www.us-cert.gov/cas/techalerts/TA08-350A.html","https://exchange.xforce.ibmcloud.com/vulnerabilities/41504","http://secunia.com/advisories/33179","http://securityreason.com/securityalert/3770","https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html","http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c","http://securityreason.com/achievement_securityalert/53","http://support.apple.com/kb/HT3338","http://www.debian.org/security/2010/dsa-2058","http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html","http://www.securitytracker.com/id?1019722","http://secunia.com/advisories/29574"],"weaknesses":[],"ingestedAt":"2026-10-29T19:38:49.659Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2008/1xxx/CVE-2008-1391.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2008-1391","state":"PUBLISHED","datePublished":"2008-03-27T17:00:00.000Z","dateUpdated":"2024-08-07T08:17:34.850Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2008-03-18T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/28479","name":"28479","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/archive/1/490158/100/0/threaded","name":"20080327 [securityreason] *BSD libc (strfmon) Multiple vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.vupen.com/english/advisories/2008/3444","name":"ADV-2008-3444","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA08-350A.html","name":"TA08-350A","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41504","name":"bsd-strfmon-overflow(41504)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://secunia.com/advisories/33179","name":"33179","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://securityreason.com/securityalert/3770","name":"3770","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html","name":"SUSE-SA:2010:052","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c","tags":["x_refsource_CONFIRM"]},{"url":"http://securityreason.com/achievement_securityalert/53","name":"20080325 *BSD libc (strfmon) Multiple vulnerabilities","tags":["third-party-advisory","x_refsource_SREASONRES"]},{"url":"http://support.apple.com/kb/HT3338","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2010/dsa-2058","name":"DSA-2058","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html","name":"APPLE-SA-2008-12-15","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.securitytracker.com/id?1019722","name":"1019722","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://secunia.com/advisories/29574","name":"29574","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-10-11T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2008-03-25T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-1391","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"28479","refsource":"BID","url":"http://www.securityfocus.com/bid/28479"},{"name":"20080327 [securityreason] *BSD libc (strfmon) Multiple vulnerabilities","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/490158/100/0/threaded"},{"name":"ADV-2008-3444","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2008/3444"},{"name":"TA08-350A","refsource":"CERT","url":"http://www.us-cert.gov/cas/techalerts/TA08-350A.html"},{"name":"bsd-strfmon-overflow(41504)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41504"},{"name":"33179","refsource":"SECUNIA","url":"http://secunia.com/advisories/33179"},{"name":"3770","refsource":"SREASON","url":"http://securityreason.com/securityalert/3770"},{"name":"SUSE-SA:2010:052","refsource":"SUSE","url":"https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html"},{"name":"http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c","refsource":"CONFIRM","url":"http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c"},{"name":"20080325 *BSD libc (strfmon) Multiple vulnerabilities","refsource":"SREASONRES","url":"http://securityreason.com/achievement_securityalert/53"},{"name":"http://support.apple.com/kb/HT3338","refsource":"CONFIRM","url":"http://support.apple.com/kb/HT3338"},{"name":"DSA-2058","refsource":"DEBIAN","url":"http://www.debian.org/security/2010/dsa-2058"},{"name":"APPLE-SA-2008-12-15","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html"},{"name":"1019722","refsource":"SECTRACK","url":"http://www.securitytracker.com/id?1019722"},{"name":"29574","refsource":"SECUNIA","url":"http://secunia.com/advisories/29574"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/28479","name":"28479","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.securityfocus.com/archive/1/490158/100/0/threaded","name":"20080327 [securityreason] *BSD libc (strfmon) Multiple vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2008/3444","name":"ADV-2008-3444","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA08-350A.html","name":"TA08-350A","tags":["third-party-advisory","x_refsource_CERT","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41504","name":"bsd-strfmon-overflow(41504)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://secunia.com/advisories/33179","name":"33179","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://securityreason.com/securityalert/3770","name":"3770","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"]},{"url":"https://lists.opensuse.org/opensuse-security-announce/2010-10/msg00007.html","name":"SUSE-SA:2010:052","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdlib/strfmon.c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://securityreason.com/achievement_securityalert/53","name":"20080325 *BSD libc (strfmon) Multiple vulnerabilities","tags":["third-party-advisory","x_refsource_SREASONRES","x_transferred"]},{"url":"http://support.apple.com/kb/HT3338","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.debian.org/security/2010/dsa-2058","name":"DSA-2058","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce//2008//Dec/msg00000.html","name":"APPLE-SA-2008-12-15","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.securitytracker.com/id?1019722","name":"1019722","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://secunia.com/advisories/29574","name":"29574","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-07T08:17:34.850Z"}}]}}}