CVE-2026-58058
Last modified
CVE-2026-58058 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nmap | Nmap | <= 7.99 |
References
- https://nmap.org/changelog.htmlPatch, Release Notes
- https://www.vulncheck.com/advisories/nmap-integer-underflow-in-ipv6-extension-header-parsingPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-58058?
How severe is CVE-2026-58058?
How do I fix CVE-2026-58058?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-580527-Zip for Windows through 26.01 fails to preserve the Mark-o…4.8
- CVE-2026-58053Gitea act_runner with the Docker backend (through act 0.262.…9.9
- CVE-2026-58054Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-58055nghttp2's nghttpx proxy through 1.69.0 forwards an HTTP/1.1 …6.3
- CVE-2026-58056RustDesk gates incoming control messages on per-capability f…7.6
- CVE-2026-58057Flowise before 3.1.3 validates Custom MCP stdio environment …5
- CVE-2026-58059In Bouncy Castle for Java before 1.85, Quadratic-time escapi…8.7
- CVE-2026-5806A security vulnerability has been detected in code-projects …3.5
- CVE-2026-58060In Bouncy Castle for Java before 1.85, HSS public-key level …8.7
- CVE-2026-58061In Bouncy Castle for Java before 1.85, CCM-family modes writ…8.7
- CVE-2026-58062In Bouncy Castle for Java before 1.85, Stapled OCSP response…9.3
- CVE-2026-58063In Bouncy Castle for Java before 1.85, BCFKS keystore load h…5.3
Are you affected by CVE-2026-58058?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
