Skip to main content
CVE-2026-58058VulnerabilityPublished Updated

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

Affects nmapSource GCVE Database

0
Compare

Public exploit available (Exploit-DB) · CVSS 6.5 Medium.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.4% chance of exploitation in 30 days – higher than 73% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Exploitation evidence

t = 0 is the CVE’s publication on cve.org

  1. Disclosed: evidence found.

    CVE published 28 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

Timeline

  1. CVE published

    on cve.org

    , t = 0

  2. First Exploit-DB entry (opens in a new tab)

    Nmap 7.99 - 'ipv6_get_data_primitive' IPv6 Extension Header Integer Underflow (PoC)

    , 50 days after disclosure

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10nmappkg:deb/ubuntu/nmap?arch=source&distro=stonkingOther threatsAffected
  • =7.98+dfsg-1
  • =7.99+dfsg-1ubuntu1
  • =7.99+dfsg-1ubuntu2
Fixed in–
Ubuntu 26.04 LTSnmappkg:deb/ubuntu/nmap?arch=source&distro=resoluteOther threatsAffected
  • =7.95+dfsg-3
  • =7.98+dfsg-1
Fixed in–
Ubuntu 25.10nmappkg:deb/ubuntu/nmap?arch=source&distro=questingOther threatsAffected
  • =7.95+dfsg-2
  • =7.95+dfsg-3
Fixed in–
Ubuntu 24.04 LTSnmappkg:deb/ubuntu/nmap?arch=source&distro=nobleOther threatsAffected
  • 7.94+git20230807.3be01efb1+dfsg-1 – 7.94+git20230807.3be01efb1+dfsg-3build2
5 affected builds
Fixed in–
Ubuntu 22.04 LTSnmappkg:deb/ubuntu/nmap?arch=source&distro=jammyOther threatsAffected
  • =7.91+dfsg1+really7.80+dfsg1-2
  • =7.91+dfsg1+really7.80+dfsg1-2build1
  • =7.91+dfsg1+really7.80+dfsg1-2ubuntu0.1
Fixed in–
Ubuntu 20.04 LTSnmappkg:deb/ubuntu/nmap?arch=source&distro=focalOther threatsAffected
  • 7.80+dfsg1-1build1 – 7.80+dfsg1-2ubuntu0.1
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…