CVE-2026-58058

published 28 Jun 2026 · updated 22 Oct 2026

Nmap - Integer Underflow in IPv6 Extension Header Parsing

7.5HighCVSS 6.5EPSS 1%2 public exploits

2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Nmap<=7.99

Exploit evidence

2 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-58058 severity on Zeptric[![CVE-2026-58058](https://zeptric.io/badge/cve/CVE-2026-58058.svg)](https://zeptric.io/cve/CVE-2026-58058)