CVEfocus › CVE database › CVE-2026-58058

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

CVSS 6.5 MediumEPSS 1.5% (higher than 74% of CVEs)Published 2026-06-28Updated 2026-06-29Assigner: VulnCheck

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.

CWE-191

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
16Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10nmapFix pendingUBUNTU-CVE-2026-58058
Ubuntu 26.04nmapUnder investigationUBUNTU-CVE-2026-58058
Ubuntu 25.10nmapWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-58058
Ubuntu 24.04nmapUnder investigationUBUNTU-CVE-2026-58058
Ubuntu 22.04nmapUnder investigationUBUNTU-CVE-2026-58058
Ubuntu 20.04nmapFix pendingUBUNTU-CVE-2026-58058
Ubuntu 18.04nmapFix pendingUBUNTU-CVE-2026-58058
Ubuntu 16.04nmapFix pendingUBUNTU-CVE-2026-58058
Ubuntu 14.04nmapFix pendingUBUNTU-CVE-2026-58058
Debian 14nmapFixed7.99+dfsg-2DEBIAN-CVE-2026-58058
Debian 13nmapWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-58058
Debian 12nmapWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-58058
Red Hat Enterprise Linux 10nmapFix pending
Fix deferred
Red Hat Enterprise Linux 10nmap-ncatFix pending
Fix deferred
Red Hat Enterprise Linux 9nmapFix pending
Fix deferred
Red Hat Enterprise Linux 9nmap-ncatFix pending
Fix deferred
Red Hat Enterprise Linux 8nmapFix pending
Fix deferred
Red Hat Enterprise Linux 8nmap-ncatFix pending
Fix deferred
Red Hat Enterprise Linux 7nmapFix pending
Fix deferred
Red Hat Enterprise Linux 7nmap-frontendFix pending
Fix deferred
Red Hat Enterprise Linux 7nmap-ncatFix pending
Fix deferred
Red Hat Enterprise Linux 6nmapFix pending
Fix deferred
Red Hat Enterprise Linux 6nmap-frontendFix pending
Fix deferred

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.