CVE-2026-58058

Source
https://cve.org/CVERecord?id=CVE-2026-58058
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58058.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-58058
Downstream
Published
2026-06-28T01:32:59.336Z
Modified
2026-07-08T08:13:48.021515669Z
Severity
  • 6.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Nmap - Integer Underflow in IPv6 Extension Header Parsing
Details

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

Database specific
{
    "unresolved_ranges": [
        {
            "source": "AFFECTED_FIELD",
            "extracted_events": [
                {
                    "last_affected": "7.99"
                }
            ]
        },
        {
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "7.99"
                }
            ]
        },
        {
            "source": "DESCRIPTION",
            "extracted_events": [
                {
                    "fixed": "7.99"
                }
            ]
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58058.json",
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-191"
    ]
}
References

Affected packages

Git / github.com/nmap/nmap

Affected ranges

Type
GIT
Repo
https://github.com/nmap/nmap
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58058.json"