Bug 2585536 (CVE-2026-137978)

Summary: CVE-2026-137978 nmap: nmap: Arbitrary code execution via use-after-free in parallel DNS resolver
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Nmap. A remote attacker controlling configured Domain Name System (DNS) servers can cause arbitrary code execution or a Denial of Service (DoS) crash during network scans. This issue occurs due to a use-after-free vulnerability in the parallel DNS resolution engine, where requests are released from memory while still being referenced following a server disconnection. By deliberately forcing a disconnect and returning precisely timed responses, an attacker can corrupt application memory.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-27 15:51:51 UTC
Nmap before 7.992 contains a use-after-free vulnerability in DNS::ResolverImpl::process_request 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.