CVE-2026-81411
Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua
CVSS Score
6.5
EPSS Score
0.3%
EPSS Percentile
15th
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).
| CWE | CWE-835 |
| Vendor | nmap |
| Product | nmap |
| Published | Nov 25, 2026 |
| Last Updated | Nov 27, 2026 |
Stay Ahead of the Next One
Get instant alerts for nmap nmap
Be the first to know when new medium vulnerabilities affecting nmap nmap are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
Affected Versions
Nmap / Nmap
0 < 7.992
References
github.com: https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096 github.com: https://github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7 github.com: https://github.com/nmap/nmap/blob/v7.992/CHANGELOG nmap.org: https://nmap.org/changelog.html vulncheck.com: https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-zero-length-gcc-block-in-rdp-lua
Credits
Karan Bamal (SentinelOne)