CVE-2026-58058Published Jun 28, 2026 · Jun 28Updated Oct 28
Nmap - Integer Underflow in IPv6 Extension Header Parsing
Nmap
Medium6.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Nmap Nmap |
| No fix yet |
Original 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.
From the CVE record · VulnCheck