Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessHost malicious DNS server on target
-
DeliveryLure operator to run dns-zone-transfer scan
-
ExploitNmap sends SOA query over TCP
-
ExecutionServer streams unbounded response
-
ImpactUnbounded memory growth and quadratic CPU exhaust scanner
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the Nmap operator run a scan invoking the dns-zone-transfer.nse script (e.g., a default/script scan reaching TCP port 53) against a host whose DNS service is attacker-controlled; the malicious server then answers the initial SOA lookup over DNS-over-TCP with an unbounded stream, before any AXFR request is issued. Limiting factors that reduce real-world risk: the attacker must control the scanned host's DNS server (AT:P), the victim must actively choose to scan that host with this specific NSE script rather than a scriptless scan (UI:P), and the only impact is availability of the scanning machine's own Nmap process (VA:H) - scanned targets, their data, and other systems are unaffected. In short: this is not remote exploitation of a service; it is a resource-exhaustion self-DoS triggered only when an operator scans an attacker's host with the affected script in versions before 7.992. |
| Impact | This is a genuine but modest-priority issue, best characterized as a high-is-overstated / real-risk-low case. The only supplied score is a CVSS 4.0 vector of 6.0 (Medium): AV:N but gated by AT:P (a specific attack requirement) and UI:P (operator action), with impact limited to VA:H - availability of the Nmap process only, no confidentiality or integrity, and no subsequent-system impact (SC/SI/SA:N). In effect this is a self-DoS of the scanning tool: the 'victim' is the person running Nmap, and the 'attacker' is the scanned host - an inversion of the usual scanner/target model. No EPSS score is provided, the CVE is not in CISA KEV, and no proof-of-concept is supplied (the GitHub links are vendor patch commits, not exploit code), so exploitation status is: no public exploit identified at time of analysis. The vuln.today Decision label is this_month, consistent with a patch-on-normal-cadence item rather than an emergency. There is no SSVC exploitation/automatable data in the input to compare against. Net: a real, vendor-confirmed resource-exhaustion bug whose practical blast radius is a pentester's own workstation when scanning an untrusted host - not widespread automatable exploitation. The 6.0 is CVSS 4.0 only; no CVSS 3.1 vector was supplied for comparison. |
| Exploit ScenarioDerived | An attacker runs a malicious DNS server on a host they control and waits for (or lures) a security operator to scan it with Nmap's dns-zone-transfer script. When Nmap makes its initial SOA lookup over TCP, the server streams an unbounded response, driving the Nmap process into unbounded memory growth and quadratic CPU cost, hanging or crashing the scanner. No public exploit is identified; the trigger mechanism is confirmed by the vendor patch diff, which replaces an unbounded receive_bytes(1) concatenation loop with a length-prefixed receive_buf read. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
Memory exhaustion and quadratic CPU consumption in Nmap before 7.992 can be induced through the NSE dns.lua library when an operator runs dns-zone-transfer.nse against an attacker-controlled DNS server. The server streams unbounded DNS-over-TCP data in response to the initial SOA lookup, before the AXFR request is sent, growing the Nmap process's memory and CPU cost without limit. The impact is availability of the scanning host's own Nmap process; the victim must actively scan the attacker's host with the affected script, and no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: Nmap 7.992 or later. Upgrade to Nmap 7.992 or a later release; the relevant upstream fixes are in commits https://github.com/nmap/nmap/commit/890a1818372584baa60702d528a9fa4441a62d8f and https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24, with the v7.992 changelog at https://github.com/nmap/nmap/blob/v7.992/CHANGELOG and vendor advisory at https://nmap.org/changelog.html. The VulnCheck advisory is at https://www.vulncheck.com/advisories/nmap-7.992-memory-exhaustion-and-quadratic-cpu-use-via-soa-over-tcp-response-in-dns-lua. If upgrading cannot be done immediately, avoid running dns-zone-transfer.nse against DNS servers that are not fully trusted and avoid script scans that reach TCP port 53 on untrusted hosts; this removes the vulnerable SOA-over-TCP path but sacrifices zone-transfer checks. The supplied references do not document an additional workaround.
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's NSE dns.lua implements DNS over TCP. In sendPacketsTCP before 7.992, the code loops on socket:receive_bytes(1) and appends every received chunk to a Lua string; because the DNS-over-TCP length prefix is not enforced, a malicious DNS server can send an arbitrarily large response to the initial SOA query and force repeated string concatenation. That causes unbounded memory growth and quadratic CPU cost, matching CWE-770 (Allocation of Resources Without Limits or Throttling). The upstream patch at commits 890a1818372584baa60702d528a9fa4441a62d8f and 9de32e381e5fde01e18f1a62b04b3c44ded59c24 uses receive_buf(match.numbytes(2)) to read the two-byte length prefix and then receive_buf(match.numbytes(len)), bounding the response to the declared DNS-over-TCP length. The independent assessment notes exploitation requires dns-zone-transfer.nse to be run against an attacker-controlled DNS service.
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:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Operator must run the dns-zone-transfer script against an attacker-controlled DNS host (AC:H for the attack requirement, UI:R for operator action); impact is limited to availability of the Nmap process (A:H), no C/I.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the sendPacketsTCP function of the NSE dns.lua library, which reads a DNS-over-TCP response without a size limit and builds it by repeated string concatenation. A malicious DNS server on a scanned host can stream unbounded data in response to the initial SOA lookup made by dns-zone-transfer.nse, before any AXFR request is sent, causing unbounded memory growth and quadratic CPU cost in the Nmap process.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
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
A use-after-free in Nmap's parallel DNS resolver (DNS::ResolverImpl::process_request in libnetutil/massdns.cc) affects N
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 (
EUVD-2026-135609
GHSA-mxw7-c647-fm6p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB