AZL-116363: CVE-2026-137978 affecting package nmap 7.95-6
Nmap before 7.992 contains a use-after-free vulnerability in DNS::ResolverImpl::processrequest in libnetutil/massdns.cc that frees still-referenced requests when rescheduling after DNS server disconnects. Attackers answering for at least two configured DNS servers can force a disconnect and send a precisely timed response to crash the scan, possibly enabling code execution.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 7.992
Event History
Frequently Asked Questions
What conditions are required to exploit this issue?
An attacker must be able to answer DNS requests for at least two DNS servers configured for the Nmap scan. They must force a DNS server disconnect and deliver a precisely timed DNS response while requests are being rescheduled.
Which scans are realistically exposed?
Scans that use DNS resolution with at least two configured DNS servers are the relevant exposure scenario. The issue is in Nmap's DNS resolver request handling when DNS servers disconnect.
What is the likely impact if exploitation succeeds?
The described outcome is a crash of the Nmap scan. The vulnerability may also allow code execution, depending on successful exploitation of the use-after-free condition.