{"id":"DHI-6tui-a4n3-7snu-qnep","summary":"Nmap through 7.99 does not keep the IPv6 extension-header walk within the captured packet in ipv6_get_data_primitive…","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-11-18T20:03:25.264079157Z","published":"2026-11-10T15:01:59Z","upstream":["CVE-2026-58058"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-6tui-a4n3-7snu-qnep"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58058"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nmap-integer-underflow-in-ipv6-extension-header-parsing"},{"type":"FIX","url":"https://nmap.org/changelog.html"},{"type":"FIX","url":"https://github.com/nmap/nmap/commit/bb6754e76bb1686315008e1aa1c40202a513fb83"},{"type":"WEB","url":"https://github.com/bikini/exploitarium/tree/main/nmap-ipv6-extlen-wrap-poc"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-58058"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-58058"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-58058"},{"type":"FIX","url":"https://www.cve.org/CVERecord?id=CVE-2026-58058"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-58058"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-58058"}],"affected":[{"package":{"name":"nmap","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/nmap"},"versions":["7.97-r0","7.97-r1"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-6tui-a4n3-7snu-qnep.json","owner_kind":"HSP"}},{"package":{"name":"nmap","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/nmap"},"versions":["7.95+dfsg-3+deb13u0+dhi0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-6tui-a4n3-7snu-qnep.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"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"}]}