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.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
18.795%
chance of exploitation in the next 30 days
higher than 97.3% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Weakness

Timeline

  1. 2008-03-27Published by the CNA17:00 UTC
  2. 2008-03-27First Exploit-DB entry (EDB-ID 31550)same day

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 31550dosbsd2008-03-27yes

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
freebsd freebsd6.0no fix listed6.0_p5_releaseno fix listed7.0no fix listed7.0_beta4no fix listed7.0_relengno fix listednot listednot listednot listednot listednot listed
netbsd netbsd4.0no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources