CVE-2026-58058CWE-191

Nmap - Integer Underflow in IPv6 Extension Header Parsing

Medium · published June 28, 2026

CVSS v4.0
6.9
EPSS
1%
Percentile
73.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
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
EPSS
0.01454 · 73.2th percentile
Weakness
CWE-191 · Integer Underflow (Wrap or Wraparound)
Published
2026-06-28T01:32Z
EPSS history
Timeline
  • 28 JUN 01:32Z
    Nmap - Integer Underflow in IPv6 Extension Header Parsing
    cvelistv5