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.
https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-dns-resolver-handle-write
https://nmap.org/changelog.html
https://github.com/nmap/nmap/commit/cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942
https://github.com/nmap/nmap/commit/37a95cb34ff4bdbb8527f58ab66bd1017fb7de5d
Published: 2026-11-27
Updated: 2026-11-27
Base Score: 6.4
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:P
Severity: Medium
Base Score: 7.5
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Severity: High
Base Score: 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
Severity: High