Skip to main content
Public proof of conceptFix available

CVE-2026-58058

A public proof of concept exists; no exploitation attested.

  • Published2026-06-28
  • WeaknessCWE-191

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-08-17Exploit-DB entryExploit-DB

Versions per branch

NVD
Nmap
BranchAffectedFixed in
7.99≤ 7.99no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As VulnCheck, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Nmapother versions: affected
    Affected
    • ≤ 7.99no fix statedcustom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-06-28

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • nmapWolfiall versions · fixed in 7.991-r0
  • nmapUbuntu:26.10all versions · no fixed version listed
  • nmapUbuntu:26.04:LTSall versions · no fixed version listed
  • nmapUbuntu:25.10all versions · no fixed version listed
  • nmapUbuntu:24.04:LTSall versions · no fixed version listed
  • nmapUbuntu:22.04:LTSall versions · no fixed version listed
  • nmapUbuntu:20.04:LTSall versions · no fixed version listed
  • nmapUbuntu:18.04:LTSall versions · no fixed version listed

24 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-58058 Red Hat Product Security13 known affected

    nmap: Nmap: Denial of Service via crafted IPv6 response

    nmap-ncat as a component of Red Hat Enterprise Linux 10 · nmap.src as a component of Red Hat Enterprise Linux 10 · nmap-frontend as a component of Red Hat Enterprise Linux 6 · +10 more

Full record on NVD

Fix

  1. Workaround from the vendor Red Hat Product Security CVE-2026-58058 · 13 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
  2. No fix available, says the vendor Red Hat Product Security CVE-2026-58058 · 13 productsFix deferred

Advisories and patches

Detection

read 2026-11-09 09:28 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-52647
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CVSS 4.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
2026-06-28
Last Modified
2026-10-25
NVD status
Analyzed
MSRC Title
Nmap - Integer Underflow in IPv6 Extension Header Parsing
GitHub Advisory
GHSA-wxvj-hc4r-fq45

Frequently asked questions

What is CVE-2026-58058?

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.

Is CVE-2026-58058 actively exploited?

A proof-of-concept exploit exists for CVE-2026-58058, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-58058?

CVE-2026-58058 has a CVSS v3 base score of 6.5 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.

Running nmap? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record