Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessOperator scans attacker-controlled host with -sC/-A
-
ExploitMalicious RDP server returns zero-length GCC block in ConfCreateResponse
-
Executionrdp.lua parser fails to advance read position, loops forever
-
ImpactNmap process hangs at 100% CPU, uninterrupted by script-timeout
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
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 actively scan an attacker-controlled host with the default/intrusive script set enabled (-sC or -A, or an explicit run of rdp-enum-encryption.nse), and that the host expose a malicious RDP service returning a ConfCreateResponse whose GCC block parser input contains a single malformed zero-length block. Limiting factors: it is triggered only against attacker-controlled targets the operator chooses to scan (CVSS UI:P), it requires the RDP enumeration script to run (default in -sC/-A but skippable), impact is confined to availability of the Nmap process itself (no host compromise), and only Nmap versions before 7.992 are affected. |
| Impact | The input rates this CVSS 4.0 7.1 (High), but the signal mix points to a moderate, not urgent, real-world priority. The impact is availability-only (VA:H; VC/VI:N) - a denial-of-service that hangs the Nmap process, with no code execution, data exposure, or compromise of the scanned host. Critically, the attack model is inverted: the victim is the operator's Nmap scanner, not a server, so an attacker cannot push this at targets - they must stand up a malicious RDP service and wait for (or lure) a scan, which is why CVSS carries UI:P. There is no KEV listing and no EPSS score in the input, and the vuln.today decision label is 'this_week' (not act_now/emergency), all consistent with a flaw that is real but not under active mass exploitation. No public exploit was identified in the provided data; the only code artifacts are the vendor patch commits. Net: a legitimate reliability/availability bug worth patching on the vendor's 'this_week' cadence, not a drop-everything emergency - the main operational risk is disruption of scanning/recon workflows (including automated or scheduled scans) rather than endpoint compromise. |
| Exploit ScenarioDerived | An attacker stands up a malicious RDP service on a host they control that returns an otherwise-valid handshake containing a single malformed zero-length GCC block in its ConfCreateResponse. When a security analyst scans that host with default scripts (nmap -sC or -A, which run rdp-enum-encryption.nse), the rdp.lua ConfCreateResponse parser fails to advance the read position and enters an infinite loop, hanging the Nmap process at 100% CPU in a way the script-timeout option does not interrupt. No public exploit was identified at time of analysis; only vendor patch commits are available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 25, 2026
A malformed RDP handshake response can hang the Nmap scanner process at 100% CPU indefinitely, because the rdp.lua NSE library's ConfCreateResponse GCC block parser in Nmap builds before 7.992 never verifies that each block advances the read position by at least one byte. The affected code path is reached by rdp-enum-encryption.nse, which is part of the default script category, so operators running -sC or -A (or explicitly invoking that script) against a malicious RDP service return a zero-length GCC block will see the scan permanently stall - and the documented --script-timeout safeguard does not fire, because NSE's Lua execution lacked an instruction-count hook capable of interrupting a tight loop. Impact is confined to availability of the local Nmap process (CVSS 4.0 7.1, VA:H, UI:P); no public exploit code has been identified at time of analysis and there is no CISA KEV listing, and the practical risk is bounded by the fact that exploitation requires the operator to deliberately scan an attacker-controlled host. The issue is fixed in 7.992 by both a parser correction and the introduction of a Lua count hook with a five-second per-thread time limit.
RemediationAI
Vendor-released patch: Nmap 7.992. Upgrade to 7.992 or later from https://nmap.org/download or your distribution's package repository, and verify the installed version with 'nmap --version'. Because the fix also introduces a five-second per-script-thread Lua instruction-count hook in nse_main.cc, any locally modified or third-party copy of rdp.lua must be replaced with the 7.992 version or it will retain the parser defect independently of the binary upgrade. Until upgrading is possible, the only reliable control is to stop the vulnerable script from running against untrusted targets: drop -sC/-A and specify an explicit script set that omits rdp-enum-encryption (e.g. --script with a curated list, or --script='not rdp-enum-encryption'), accepting the loss of RDP encryption-enumeration coverage in scan results; note that --script-timeout is explicitly ineffective against this loop, so a defensive operator may instead wrap scans in an external process supervisor or the 'timeout' command to bound total runtime, at the cost of truncated scan output. Scanning untrusted or third-party RDP endpoints with the default script set should be avoided until the upgrade is applied. References: https://github.com/nmap/nmap/blob/v7.992/CHANGELOG, https://nmap.org/changelog.html, https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-zero-length-gcc-block-in-rdp-lua.
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 Scripting Engine (NSE) scripts are Lua programs executed inside the nmap binary; rdp.lua implements the client side of the RDP connection sequence, including the MCS/Generic Conference Control (GCC) layer that carries the conference create response during connection finalization. The vulnerable routine parses the sequence of GCC blocks in that response and continues reading while blocks remain, but - per CWE-835 (Loop with Unreachable Exit Condition) - it does not assert that each iteration advances the read cursor. A block declaring zero length therefore yields a loop that consumes no input while never satisfying its termination condition, pinning one core at 100% CPU. The hang proved unkillable via the normal script timeout mechanism because NSE's Lua VM was not instrumented with a debug hook, so a pure-Lua infinite loop never returned control to the C code that enforces deadlines. The upstream fix commits address this in two places: nse_main.cc registers a TimerState in the Lua registry, installs an lua_sethook with LUA_MASKCOUNT firing every 10,000 VM instructions and raises a Lua error when a five-second allowance is exceeded, while nse_main.lua calls cnse.install_thread_timer()/cnse.start_thread_timer() around script threads; the parallel commit to the rdp.lua parser presumably makes the block-advance check explicit. The CPE cpe:2.3:a:nmap:nmap with an unbounded version range confirms the flaw applies across the entire Nmap release history prior to 7.992 rather than to a specific platform build.
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:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
AV:N because Nmap connects over the network to the malicious RDP server; UI:R since an operator must initiate the scan; PR:N; impact is a process hang only, so A:H with C:N/I:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Nmap before 7.992 contains an infinite loop vulnerability in the ConfCreateResponse GCC block parser of the NSE rdp.lua library, which does not check that each block advances the read position. A malicious RDP server on a scanned host can include a single malformed zero-length block in an otherwise valid handshake, causing a permanent 100% CPU hang of the Nmap process that the script-timeout option does not interrupt; the library is used by rdp-enum-encryption.nse in the default script category (-sC, -A).
Executive ViewAI
CVE-2026-81411 affects Nmap versions before 7.992, where scanning a malicious RDP service can cause the Nmap process to hang indefinitely at 100% CPU, disrupting security scanning operations. This availability issue could delay vulnerability assessments and incident response activities, but requires an operator to target a malicious RDP endpoint. Leadership should ensure timely patching to maintain reliable network scanning capabilities.
Apply vendor patch (upgrade to Nmap 7.992 or later). If immediate patching is not possible, avoid using the default script category (-sC or -A) or the rdp-enum-encryption script against untrusted RDP services, and monitor scanning processes for hangs.
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
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-135606
GHSA-hp47-6m7v-h6wg
NVD
CVE.org
EPSS
Exploit-DB