CVE-2026-58058

MEDIUM CVSS 4.0: 6.9 EPSS 1.45%
Updated Oct 25, 2026
Nmap
Parameter Value
CVSS 6.9 (MEDIUM)
Affected Versions before 7.99
Type CWE-191 (Integer Underflow)
Vendor Nmap
Public PoC Yes

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Nmap Nmap
cpe:2.3:a:nmap:nmap:*:*:*:*:*:*:*:*
— <= 7.99