CVE-2008-1391: Freebsd
High severity, CVSS 7.5. EPSS: 18.8% chance of exploitation in the next 30 days.
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 products
- Freebsd Freebsd: version 6.0 only; version 6.0_p5_release only; version 7.0 only; version 7.0_beta4 only; version 7.0_releng only
- Netbsd Netbsd: version 4.0 only
Published 2008-03-27. Last modified 2026-06-16.