{"id":"DEBIAN-CVE-2026-58058","details":"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.","modified":"2026-09-14T17:03:21.753166758Z","published":"2026-06-28T02:16:33.130Z","upstream":["CVE-2026-58058"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-58058"}],"affected":[{"package":{"name":"nmap","ecosystem":"Debian:12","purl":"pkg:deb/debian/nmap?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.93+dfsg1-1","7.94+dfsg1-1","7.94+dfsg1-1~exp1","7.94+dfsg1-2","7.94+dfsg1-3","7.94+dfsg1-3~bpo12+1","7.94+dfsg1-4","7.94+git20230807.3be01efb1+dfsg-1","7.94+git20230807.3be01efb1+dfsg-1~bpo12+1","7.94+git20230807.3be01efb1+dfsg-2","7.94+git20230807.3be01efb1+dfsg-3","7.94+git20230807.3be01efb1+dfsg-4","7.94+git20230807.3be01efb1+dfsg-4~bpo12+1","7.95+dfsg-1","7.95+dfsg-2","7.95+dfsg-3","7.98+dfsg-1","7.98+dfsg-1~bpo13+1","7.99+dfsg-1","7.99+dfsg-2"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-58058.json"}},{"package":{"name":"nmap","ecosystem":"Debian:13","purl":"pkg:deb/debian/nmap?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["7.95+dfsg-3","7.98+dfsg-1","7.98+dfsg-1~bpo13+1","7.99+dfsg-1","7.99+dfsg-2"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-58058.json"}},{"package":{"name":"nmap","ecosystem":"Debian:14","purl":"pkg:deb/debian/nmap?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.99+dfsg-2"}]}],"versions":["7.95+dfsg-3","7.98+dfsg-1","7.98+dfsg-1~bpo13+1","7.99+dfsg-1"],"ecosystem_specific":{"urgency":"unimportant"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-58058.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}