CVE-2026-137978 - Nmap before 7.992 Use-After-Free via Parallel DNS Resolver process_request
Vulnerability · Reported by NVD · · CWE-416
- Severity
- High Risk score 77/100
- CVSS
- 7.7 v4.0 · from NVD
- Exploit chance (EPSS)
- 0.58% Higher than 41% of CVEs
- Known exploited
- No Not in CISA KEV
Summary
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.
How this vulnerability can be exploited
This is a use-after-free flaw (CWE-416). An attacker can exploit this vulnerability remotely over the network, without any login. Attack complexity is high, meaning specific conditions must exist first.
Is it being exploited?
The EPSS model estimates a 0.58% chance this CVE will be exploited in the next 30 days, which is low and higher than 41% of all published CVEs.
Patch priority and what to do
Patch as soon as possible, ideally within days. It is remotely reachable or critical severity, so exposure to the internet greatly increases risk. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S
Tags
CVE-2026-137978
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-137978 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.