Integer overflow in Nmap
CVE-2026-58058
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.015 · 73.7th percentile
- Published
- 2026-06-28
Nmap through 7.99 does not keep the IPv6 extension-header walk within the captured packet in ipv6_get_data_primitive (libnetutil/netutil.cc), so the pointer advances past the buffer and the remaining-length computation underflows to a large value. A scanned target or on-path attacker returning a crafted IPv6 response with a truncated extension header can trigger out-of-bounds reads and a crash during raw IPv6 scans.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- None
I:N - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.015, 73.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Nmap — versions 0
Weakness classification (CWE)
References
- Proof of Concept (exploit, Broken Link, third-party-advisory)
- Fix commit (dev tree) (Patch, patch)
- Nmap Change Log (release-notes, Patch, Release Notes)
- VulnCheck Advisory: Nmap - Integer Underflow in IPv6 Extension Header Parsing (Patch, Third Party Advisory, third-party-advisory)