Use-After-Free Vulnerability in Nmap by Insecure DNS Response Handling
CVE-2026-137977
7.7HIGH
What is CVE-2026-137977?
A use-after-free vulnerability exists in Nmap's DNS::ResolverImpl::handle_write function found in libnetutil/massdns.cc. This weakness allows attackers, who control or are positioned on the path to a DNS server, to exploit the vulnerability by sending delayed DNS responses containing falsified ICMP port-unreachable messages. Successful exploitation can lead to crashing of the scanning process, unintended memory disclosure, or even hijacking of execution flow, posing significant security threats.
Affected Version(s)
Nmap 0 < 7.992
References
CVSS V4
Score:
7.7
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Zach Hanley (Horizon3.ai)
Daniel Miller
