CVE-2026-58058
published medium CVSS 4.0 · 6.9Nmap - Integer Underflow in IPv6 Extension Header Parsing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Nmap | — | Nmap0 through 7.99 · Other versions: affected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | nmapx86_64 | Advisory build | 6.46-3.9.1 | SUSE-SU-2026:3333-1 |
| SUSE / openSUSE | SLE-15-SP7 | nmapaarch64 | Advisory build | 7.92-150600.9.3.1 | SUSE-SU-2026:3340-1 |
| SUSE / openSUSE | SLE-15-SP7 | nmapppc64le | Advisory build | 7.92-150600.9.3.1 | SUSE-SU-2026:3340-1 |
| SUSE / openSUSE | SLE-15-SP7 | nmaps390x | Advisory build | 7.92-150600.9.3.1 | SUSE-SU-2026:3340-1 |
| SUSE / openSUSE | SLE-15-SP7 | nmapx86_64 | Advisory build | 7.92-150600.9.3.1 | SUSE-SU-2026:3340-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP7 | npingaarch64 | Advisory build | 7.92-150600.9.3.1 | SUSE-SU-2026:3340-1 |
| SUSE / openSUSE | SLE-15-SP7 | npingppc64le | Advisory build | 7.92-150600.9.3.1 | SUSE-SU-2026:3340-1 |
| SUSE / openSUSE | SLE-15-SP7 | npings390x | Advisory build | 7.92-150600.9.3.1 | SUSE-SU-2026:3340-1 |
| SUSE / openSUSE | SLE-15-SP7 | npingx86_64 | Advisory build | 7.92-150600.9.3.1 | SUSE-SU-2026:3340-1 |
| SUSE / openSUSE | SLE-16 | ncataarch64 | Advisory build | 7.92-160000.3.1 | SUSE-SU-2026:22814-1 |
| SUSE / openSUSE | SLE-16 | ncatppc64le | Advisory build | 7.92-160000.3.1 | SUSE-SU-2026:22814-1 |
| SUSE / openSUSE | SLE-16 | ncats390x | Advisory build | 7.92-160000.3.1 | SUSE-SU-2026:22814-1 |
| SUSE / openSUSE | SLE-16 | ncatx86_64 | Advisory build | 7.92-160000.3.1 | SUSE-SU-2026:22814-1 |
| SUSE / openSUSE | SLE-16 | nmapaarch64 | Advisory build | 7.92-160000.3.1 | SUSE-SU-2026:22814-1 |
| SUSE / openSUSE | SLE-16 | nmapppc64le | Advisory build | 7.92-160000.3.1 | SUSE-SU-2026:22814-1 |
| SUSE / openSUSE | SLE-16 | nmaps390x | Advisory build | 7.92-160000.3.1 | SUSE-SU-2026:22814-1 |
| SUSE / openSUSE | SLE-16 | nmapx86_64 | Advisory build | 7.92-160000.3.1 | SUSE-SU-2026:22814-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Nmap | Nmap | 0 through 7.99 (affected · custom)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-191 Integer Underflow (Wrap or Wraparound)
References
4- Proof of Concept https://github.com/bikini/exploitarium/tree/main/nmap-ipv6-extlen-wrap-poc
- Fix commit (dev tree) https://github.com/nmap/nmap/commit/bb6754e76bb1686315008e1aa1c40202a513fb83
- Nmap Change Log https://nmap.org/changelog.html
- VulnCheck Advisory: Nmap - Integer Underflow in IPv6 Extension Header Parsing https://www.vulncheck.com/advisories/nmap-integer-underflow-in-ipv6-extension-header-parsing
Provider assertions
2VulnCheck · cna
Nmap - Integer Underflow in IPv6 Extension Header Parsing
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d798c7633952557012f0dd8236687e0bec315afbdcdc19b3a84255cef3845a41
- Ingested
- 23 Sep 2026, 09:22:08 UTC
- Source record
- Official CVE record