CVE-2026-58058: Nmap - Integer Underflow in IPv6 Extension Header Parsing

Published Jun 28, 2026
·
Updated

Nmap - Integer Underflow in IPv6 Extension Header Parsing

Other sources

Nmap through 7.99 does not keep the IPv6 extension-header walk within the captured packet in ipv6getdataprimitive (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.

MITRE

Affected Software

4 affected componentsFixes available
Nmap<=7.99
Nmap Nmap<=7.99
Microsoft azl3 nmap 7.95-3<7.95-4
7.95-4
Microsoft azl3 nmap 7.95-4<7.95-4
7.95-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.95-4

Event History

Jun 28, 2026
CVE Published
via MITRE·01:32 AM
Data Sourced
via MITRE·01:32 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 29, 2026
Data Sourced
via Microsoft·08:06 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:06 AM
DescriptionSeverity
Updated
via Microsoft·08:06 AM
Affected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-58058?

The severity of CVE-2026-58058 is categorized as medium with a score of 6.5.

2

What is CVE-2026-58058 about?

CVE-2026-58058 addresses an integer underflow vulnerability in Nmap related to IPv6 extension header parsing.

3

How do I fix CVE-2026-58058?

To remediate CVE-2026-58058, update Nmap to the latest version which addresses the integer underflow issue.

4

What types of attacks are possible due to CVE-2026-58058?

CVE-2026-58058 could allow a scanned target or an on-path attacker to exploit the integer underflow, potentially leading to further attacks.

5

Which software is affected by CVE-2026-58058?

CVE-2026-58058 affects Nmap versions up to 7.99.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203