Bug 2585533 (CVE-2026-137977)

Summary: CVE-2026-137977 nmap: nmap: Arbitrary code execution via DNS resolver use-after-free
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 use-after-free vulnerability in the Domain Name System (DNS) resolver component allows freed request memory to be accessed after write operations complete. A remote on-path attacker or malicious DNS server could exploit this flaw by sending timed DNS responses along with forged network error messages. Successful exploitation could lead to arbitrary code execution, sensitive information disclosure, or a Denial of Service (DoS) by crashing active scans.
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:39 UTC
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.