{"id":"CVE-2026-137977","aliases":[],"title":"Nmap before 7.992 Use-After-Free via DNS Resolver handle_write","originalDescription":"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.","severity":{"cvss":7.7,"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","label":"high"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Nmap","range":">=0, <7.992","fixed":"7.992"}],"references":[{"url":"https://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d","type":"patch"},{"url":"https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942","type":"patch"},{"url":"https://github.com/nmap/nmap/blob/1bb2586a85ae41dc6824a8405e44d17309e9288c/libnetutil/massdns.cc#L924","type":"technical-description"},{"url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG","type":"release-notes"},{"url":"https://nmap.org/changelog.html","type":"release-notes"},{"url":"https://github.com/nmap/nmap","type":"product"},{"url":"https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-dns-resolver-handle-write","type":"third-party-advisory"}],"sources":[{"name":"nvd","at":"2026-11-27T16:27:13.774Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137977","license":"NVD terms of use","firstSeenAt":"2026-11-27T16:27:13.774Z"},{"name":"cvelistV5","at":"2026-11-28T15:31:02.597Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-137977","license":"CVE Terms of Use","firstSeenAt":"2026-11-27T15:51:32.402Z"}],"firstSeenAt":"2026-11-27T15:51:32.402Z","publishedAt":"2026-11-27T15:38:27.543Z","modifiedAt":"2026-11-27T16:18:10.660Z"}