Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessInduce victim to scan attacker-controlled DNS
-
DeliveryForce disconnect of a configured DNS server
-
ExploitNmap reschedules outstanding requests
-
ExecutionSend precisely timed DNS response
-
PersistTrigger use-after-free in resolver
-
ImpactCrash scan or possibly execute code
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to answer DNS queries for at least two of the DNS servers Nmap is configured to use (e.g., controlling resolvers in the response path or the servers specified for the scan), cause one of those servers to disconnect so Nmap reschedules its outstanding requests, and then deliver a precisely timed response that lands during rescheduling to hit the freed request. A victim must actively launch an Nmap scan that performs parallel DNS resolution for this to occur. Limiting factors: the requirement for control over at least two configured DNS servers (AT:P), the precise timing needed (AC:H), and the dependence on the operator initiating a scan (UI:P) all constrain realistic exploitation; the code-execution outcome is unproven, with only a reliable crash confirmed. |
| Impact | The input assigns CVSS 4.0 base 7.7 (High) with vector AV:N/AC:H/AT:P/PR:N/UI:P and full High vulnerable-system impact (VC:H/VI:H/VA:H). Although the attack vector is Network and no privileges are required (PR:N), three metrics materially temper real-world risk: AC:H and AT:P reflect the precise timing and the specific precondition that the attacker must answer for at least two configured DNS servers, and UI:P reflects that a victim must actively run an Nmap scan. Exploitation status is no public exploit identified at time of analysis - there is no CISA KEV listing and no reference marked as confirmed working PoC in the input, so this is not confirmed active exploitation. No EPSS score was supplied, so statistical exploitation probability cannot be weighed. The vuln.today decision label is this_week (a prioritize-but-not-emergency signal), consistent with a patched, non-KEV memory-corruption bug. Note also that the confirmed impact is a scan crash (availability); the code-execution outcome is described by the source only as 'possibly enabling code execution', so the VC:H/VI:H ratings are plausible for a use-after-free but not demonstrated. Net: a genuine issue worth patching on a normal cycle, not a drop-everything emergency, and the attacker rather than the scan target is positioned against the operator running Nmap. |
| Exploit ScenarioDerived | An operator runs an Nmap scan that performs reverse-DNS resolution while an attacker controls or can answer for at least two of the DNS servers Nmap is configured to use. The attacker forces one server to disconnect so Nmap reschedules outstanding requests, then delivers a precisely timed DNS response that references an already-freed request, triggering the use-after-free in the parallel resolver. This reliably crashes the scan and, per the source, may possibly be leveraged for code execution on the host running Nmap; no confirmed public exploit code is listed in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
A use-after-free in Nmap's parallel DNS resolver (DNS::ResolverImpl::process_request in libnetutil/massdns.cc) affects Nmap versions before 7.992 and lets an attacker who can answer for at least two of the DNS servers a scan is configured to use crash the scan, with the advisory raising the possibility of code execution that the available evidence does not demonstrate. The attacker must first force one of those servers to disconnect so Nmap reschedules outstanding requests, then deliver a response precisely timed to hit a freed request object; exploitation therefore requires control of the response path (AT:P), precise timing (AC:H), and a victim operator actually launching a parallel-DNS scan (UI:P). Unauthenticated remote impact is indicated by the CVSS vector (PR:N), scoring 7.7 High under CVSS 4.0 (assessed CVSS 3.1: AV:N/AC:H/PR:N/UI:R/C:H/I:H/A:H), and no public exploit code was identified at time of analysis; the upstream fix is in Nmap 7.992 and the priority guidance places remediation in the this-week window.
RemediationAI
Vendor-released patch: upgrade to Nmap 7.992 or later, which contains the resolver changes in commits ed8abf52f4cd2b52185b955cdd4765fa8b6f75df and cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942 (see https://github.com/nmap/nmap/blob/v7.992/CHANGELOG, https://nmap.org/changelog.html and the VulnCheck advisory https://www.vulncheck.com/advisories/nmap-before-7.992-use-after-free-via-parallel-dns-resolver-process-request); sites that build Nmap from source can cherry-pick those commits instead of waiting for a package update. The exploitation precondition described in the advisory is that the attacker can answer for at least two of the DNS servers a scan is configured to use and can force one of them to disconnect, so until upgrades are in place, scans should be pointed at resolver sets where every entry is trusted and under the operator's control, avoiding mixed or externally supplied resolver lists, and DNS resolution during scans can be disabled with the -n option (for reverse lookups) when name resolution is not required; the trade-off is loss of reverse-DNS information in scan output and reduced usefulness of hostname-based reporting. Because the crash path requires a parallel DNS scan to be launched at all, avoiding DNS-dependent scan options on untrusted networks removes exposure but also removes the name-resolution functionality operators may rely on. No public exploit code was identified at time of analysis, so the upgrade cadence can follow the this-week priority guidance rather than emergency handling.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Nmap performs parallel reverse/forward DNS lookups during scans through an internal resolver built on the massdns-derived code in libnetutil/massdns.cc. The class is CWE-416 (use-after-free): when a configured DNS server drops its connection, deal_with_timedout_reads reschedules outstanding requests onto another server, and process_request can free a request object that is still referenced by the rescheduling path, so a subsequent precisely timed response writes through a dangling pointer. The upstream fix in commit ed8abf52f4cd2b52185b955cdd4765fa8b6f75df changes the server-advance loop in deal_with_timedout_reads from a single unchecked increment (with wrap-around to begin()) to a do/while that keeps advancing until it lands on a server that is not the original servI and whose status is dns_server::CONNECTED, so requests are no longer rescheduled onto a disconnected server; commit cd74c02e2f53d57ba19a9a63398ea7d3bc7cb942 is the companion patch. Because the flaw is only reachable through the resolver state machine during an active scan with multiple candidate servers, the trigger depends on server disconnect timing rather than on a simple malformed DNS packet, and the crash outcome is reliable while the code-execution outcome is unproven.
Know when Nmap gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-triggered but needs control of two DNS servers and precise timing (AC:H) and an operator-run scan (UI:R); crash is confirmed (A:H) while C:H/I:H reflect the stated possible code execution.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Nmap, the network scanning tool relied upon for security assessments and network inventory, contains a high-severity memory safety flaw affecting releases before 7.992. The vulnerability can be triggered only by an attacker who already controls a meaningful portion of the DNS infrastructure that a scan traverses, meaning normal internal scanning is unlikely to be disrupted by casual adversaries, and no public exploit code was identified at time of analysis. Leadership should care because Nmap is widely deployed by security and network teams; unmanaged, outdated copies create an operational risk to the very assessment work used to defend the environment.
Vendor-released patch: Nmap 7.992
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
The http-domino-enum-passwords.nse script in NMap before 6.40, when domino-enum-passwords.idpath is set, allows remote s
An issue was discovered in Npcap 0.992. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity. Pub
Nmap through 7.70, when the -sV option is used, allows remote attackers to cause a denial of service (stack consumption
Out-of-bounds reads and a process crash in Nmap through 7.99 can be triggered remotely by any host that is being scanned
Use-after-free in Nmap's parallel DNS resolver (libnetutil/massdns.cc) in all versions before 7.992 allows an attacker w
Memory exhaustion in Nmap's db2-das-info NSE script lets a malicious or spoofed DB2 Administration Server on a scanned h
Memory exhaustion in the Nmap Scripting Engine's rpc.lua library (Nmap before 7.992) lets a malicious ONC-RPC service on
Memory exhaustion in Nmap's NSE scripting engine (versions before 7.992) lets a hostile DRDA service consume unbounded m
Memory exhaustion and prolonged CPU spin in Nmap's NSE MSRPC library (nselib/msrpctypes.lua) affects Nmap releases befor
A malformed RDP handshake response can hang the Nmap scanner process at 100% CPU indefinitely, because the rdp.lua NSE l
Nmap releases before 7.992 can be driven into a permanent 100% CPU hang while running the NSE script tn3270-screen.nse (
Memory exhaustion and quadratic CPU consumption in Nmap before 7.992 can be induced through the NSE dns.lua library when
EUVD-2026-137451
GHSA-5wmc-vfq3-gfv5
NVD
CVE.org
EPSS
Exploit-DB