CVE-2026-58058
Publication date 28 June 2026
Last updated 29 June 2026
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| nmap | 26.04 LTS resolute |
Needs evaluation
|
| 25.10 questing |
Needs evaluation
|
|
| 24.04 LTS noble |
Needs evaluation
|
|
| 22.04 LTS jammy |
Needs evaluation
|
|
| 20.04 LTS focal |
Needs evaluation
|
|
| 18.04 LTS bionic |
Needs evaluation
|
|
| 16.04 LTS xenial |
Needs evaluation
|
|
| 14.04 LTS trusty |
Needs evaluation
|
Severity score breakdown
CVSS version:
Base score
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
Base score
6.5 · Medium
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
References
Other references
- https://www.cve.org/CVERecord?id=CVE-2026-58058
- https://github.com/bikini/exploitarium/tree/main/nmap-ipv6-extlen-wrap-poc
- https://github.com/nmap/nmap/commit/bb6754e76bb1686315008e1aa1c40202a513fb83
- https://nmap.org/changelog.html
- https://www.vulncheck.com/advisories/nmap-integer-underflow-in-ipv6-extension-header-parsing