Medium severity6.5NVD Advisory· Published Jun 28, 2026· Updated Jun 30, 2026
CVE-2026-58058
CVE-2026-58058
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.
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/nmap/nmap/commit/bb6754e76bb1686315008e1aa1c40202a513fb83nvdPatch
- nmap.org/changelog.htmlnvdPatchRelease Notes
- www.vulncheck.com/advisories/nmap-integer-underflow-in-ipv6-extension-header-parsingnvdPatchThird Party Advisory
- github.com/bikini/exploitarium/tree/main/nmap-ipv6-extlen-wrap-pocnvdBroken Link
News mentions
1- Researcher Behind 'Exploitarium' Explains Release of Undisclosed Zero-Day ExploitsInfosecurity Magazine · Jul 2, 2026