BreachSpiderVerified, not vibes

CVE-2008-1391 in Freebsd and 1 more product

High 7.5 Public exploit reported

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

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 2.07.5
EPSS18.8%
EPSS percentile98th
FixUnknown

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Freebsd Freebsd 6.0 6.0_p5_release 7.0 7.0_beta4 7.0_releng
Netbsd Netbsd 4.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2008-1391
BreachSpider IDBS-2008-GLOBAL-079133-H
CVSS vectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Published2008-03-27
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-189: CWE-189

Analysis AI-written, not human-reviewed

Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and potentially other BSD and Apple Mac OS platforms can be exploited by attackers to execute arbitrary code through large integer values in format arguments to specific functions.

Attackers can exploit these vulnerabilities by providing specially crafted input to the strfmon and printf functions, which can lead to integer overflows. These overflows can be used to execute arbitrary code with the privileges of the affected application.

Questions

What is CVE-2008-1391?

Multiple integer overflows in libc in NetBSD 4.x, FreeBSD 6.x and 7.x, and potentially other BSD and Apple Mac OS platforms can be exploited by attackers to execute arbitrary code through large integer values in format arguments to specific functions.

What is the CVSS score for CVE-2008-1391?

CVE-2008-1391 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 18.8%.

Is CVE-2008-1391 actively exploited?

Public exploit available for CVE-2008-1391. Exploitation risk elevated.

How do I remediate CVE-2008-1391?

Priority: HIGH.

What systems are affected by CVE-2008-1391?

CVE-2008-1391 affects Freebsd Freebsd; Netbsd Netbsd.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.