HOMEVULNERABILITIESCVE-2008-1391
HIGHPOC

CVE-2008-1391

CWE-189Published: March 27, 2008· Updated: Jun 16, 2026

7.5
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2008-1391 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A proof-of-concept (PoC) exploit exists for CVE-2008-1391. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityLow
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityP
AvailabilityP
AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected Vendors & Products

freebsd1 product(s)
freebsd
netbsd1 product(s)
netbsd
Source: NVD CPE · 6 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

All References (30)

Quick Facts

CVE IDCVE-2008-1391
CVSS Score7.5 / 10
SeverityHIGH
WeaknessCWE-189
CISA KEVNo
ExploitPOC
Affected2 vendor(s)
PublishedMar 27, 2008

Related CVEs (CWE-189)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2008-1391 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.