CVE-2026-58058: medium-severity vulnerability in Nmap
Nmap - Integer Underflow in IPv6 Extension Header Parsing
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
33Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 6.9epss 1.4%
from disclosure to weapon50 days
Published on NVDJun 28
1st PoC+50d
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
Affected products
Nmap · Nmappublic PoCs found — 2
exploitdbwww.exploit-db.com/exploits/52647unverifiedcve_referencegithub.com/bikini/exploitarium/tree/main/nmap-ipv6-extlen-wrap-pocunverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — Nmap
In the same product, most dangerous first.
CVE-2026-81406HIGHNmap < 7.992 Memory Exhaustion via Unbounded DB2 DAS Packet Length in db2-das-info.nseEPSS 0.7%CVE-2026-81405HIGHNmap < 7.992 Memory Exhaustion via Unbounded ONC-RPC Fragment Length in rpc.luaEPSS 0.7%CVE-2026-81419MEDIUMNmap < 7.992 Infinite Loop via Zero-Length LSA Header in ospf.luaEPSS 0.7%CVE-2026-137977HIGHNmap before 7.992 Use-After-Free via DNS Resolver handle_writeEPSS 0.6%CVE-2026-137978HIGHNmap before 7.992 Use-After-Free via Parallel DNS Resolver process_requestEPSS 0.6%CVE-2026-81408HIGHNmap < 7.992 Unbounded Loop via Malicious DRDA Response in drda.luaEPSS 0.6%