Skip to main content
← All vulnerabilities
CVE-2026-58058

Nmap - Integer Underflow in IPv6 Extension Header Parsing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fix or patch referenced
1 on Exploit-DB
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated
  4. Public exploit on Exploit-DB

    EDB-52647

Affected versions

  • Nmap Nmap

    through 7.99

References 5

GitHub · bikini/exploitarium

GitHub · nmap/nmap

nmap.org

vulncheck.com

Exploit-DB