{"id":"CVE-2026-137977","aliases":["CVE-2026-137977"],"related":[],"kind":"vulnerability","state":"published","title":"Nmap before 7.992 Use-After-Free via DNS Resolver handle_write","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-27T15:38:27.543Z","modified":"2026-12-01T22:17:56.127Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"7.992","status":"affected"}],"vendor":"Nmap","product":"Nmap","repo":"https://github.com/nmap/nmap","source":"cvelist"}],"references":[{"url":"https://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L924","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://nmap.org/changelog.html","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nmap/nmap","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-dns-resolver-handle-write","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Zach Hanley (Horizon3.ai)","Daniel Miller"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-12-01T21:42:33.423Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-137977","url":"https://www.cve.org/CVERecord?id=CVE-2026-137977","licence":"CVE Terms of Use","modified":"2026-12-01T21:42:43.886Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-137977","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137977","licence":"Public domain","modified":"2026-12-01T22:17:56.127Z"}],"updatedAt":"2026-12-01T22:32:12.731Z","epss":{"score":0.00577,"percentile":0.48919,"date":"2026-12-01T12:00:22.000Z"}}