Vulnerability record · CVE-2026-58058 · published 28 June 2026
CVE-2026-58058: Nmap vulnerability
Nmap · Nmap
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.
Description
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.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/bikini/exploitarium/tree/main/nmap-ipv6-extlen-wrap-poc | Broken Link |
| https://github.com/nmap/nmap/commit/bb6754e76bb1686315008e1aa1c40202a513fb83 | Patch |
| https://nmap.org/changelog.html | PatchRelease Notes |
| https://www.vulncheck.com/advisories/nmap-integer-underflow-in-ipv6-extension-header-parsing | PatchThird Party Advisory |
Track CVE-2026-58058 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-58058), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.