{"affected":[{"defaultStatus":"unaffected","product":"Nmap","source":"CNA: VulnCheck","vendor":"Nmap","versions":[{"lessThan":"7.992","status":"affected","version":"0","versionType":"custom"}]}],"cveId":"CVE-2026-137977","cwes":["CWE-416"],"description":"Nmap before 7.992 contains a use-after-free vulnerability in DNS::ResolverImpl::handle_write in libnetutil/massdns.cc that dereferences freed request objects after writes complete. Attackers controlling or on-path to a DNS server can send timed DNS responses with forged ICMP port-unreachable messages to crash scans, disclose memory, or hijack execution.","epss":{"date":"2026-12-01","percentile":0.48919,"score":0.00577},"exploits":[],"kev":null,"metrics":[{"score":7.7,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},{"score":7.5,"severity":"high","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"score":7.7,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/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","version":"4.0"},{"score":7.5,"severity":"high","source":"NVD: disclosure@vulncheck.com","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1796161363886,"publishedAt":1795793907543,"references":[{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L924"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://nmap.org/changelog.html"},{"source":"CNA: VulnCheck","tags":["product"],"url":"https://github.com/nmap/nmap"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-dns-resolver-handle-write"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/nmap/nmap"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L924"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://nmap.org/changelog.html"},{"source":"disclosure@vulncheck.com","tags":[],"url":"https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-dns-resolver-handle-write"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d"},{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942"}],"revision":"76231c752ee845c972ee34e544312b351cdcf2b33e3b107adc6538196fb33c3d","sources":[{"modifiedAt":1796161363886,"name":"CNA: VulnCheck","retrievedAt":1796162954132,"url":"https://www.cve.org/CVERecord?id=CVE-2026-137977"},{"modifiedAt":1795796290660,"name":"NVD","retrievedAt":1795803441638,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137977"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1796162955857,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-137977"}],"ssvc":{"assessedAt":1796161353423,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"Nmap before 7.992 Use-After-Free via DNS Resolver handle_write","updatedAt":1796162955857}