{"cve":"CVE-2008-1391","nvd":{"published":"2008-03-27T17:44:00.000","modified":"2026-06-16T22:51:38.980","status":"Modified","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.","cvss_v4":null,"cvss_v3":null,"cwes":["CWE-189"],"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"],"products":["freebsd:freebsd","netbsd:netbsd"],"source":"nvd","synced_at":"2026-10-19T19:51:11.071189229+00:00"},"epss":{"cve":"CVE-2008-1391","score":0.18795,"percentile":0.97279,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}