Use-After-Free Vulnerability in Nmap DNS Resolver by Nmap
CVE-2026-137978
7.7HIGH
What is CVE-2026-137978?
The vulnerability in Nmap's DNS resolver occurs when the software improperly handles memory during the processing of DNS requests. Specifically, the issue arises within the DNS::ResolverImpl::process_request function in the libnetutil/massdns.cc file. When Nmap communicates with multiple DNS servers, an attacker can exploit this flaw by forcing a disconnect and then sending a precisely timed response. This action can lead to crashes during scans and may open the door for potential code execution, posing significant risks to users reliant on Nmap for network scanning.
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
