Nmap - Integer Underflow in IPv6 Extension Header Parsing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · Low
- Fix status
- Deferred Red Hat: fix deferred
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58058
- 2026-10-03 Alias added: GHSA-wxvj-hc4r-fq45
- 2026-11-06 Affected versions changed · Red Hat
References
Exploit 1
More Nmap vulnerabilities
- TI-2018-10857 Nmap through 7.70, when the -sV option is used, allows remote attackers to cause a denial… CVSS 3.0HIGH 7.5
- TI-2013-04289 The http-domino-enum-passwords.nse script in NMap before 6.40, when… CVSS 2.0MEDIUM 6.8
- TI-2017-13767 nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double… CVSS 3.0HIGH 7.5
- TI-2026-00008 Protection mechanism failure in Google Android CVSS 3.1HIGH 8.4
- TI-2018-15812 nmap version 6.49BETA6 through 7.60, up to and including SVN revision 37147 contains a… CVSS 3.0MEDIUM 5.7
Sources
- CVE-2026-58058 · CVE Program
- CVE-2026-58058 · NVD
- FIRST EPSS
- GHSA-wxvj-hc4r-fq45 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-58058 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences