CVE-2026-58058: Vulnerability in Nmap
Low urgency. 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.
CWE-191
- Exploitation
- None confirmed
- Severity
- 6.5 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
- Weakness
- CWE-191
- Published
- 28 Jun 2026
- Last change
- 25 Oct 2026
Affected products
Affected versions and the first fixed release
- Nmap Through 7.99. No fixed version recorded
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
Exploit code
Public exploits and proofs of concept, handle with care
Related
- Nmap vulnerabilities Recent advisories, watch this product