Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua
- CVE-2026-81411
- GHSA-hp47-6m7v-h6wg
- EUVD-2026-135606
Description
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).
Text from the CVE.org record.
Recommendation
Nmap
- If you run a version before 7.992update to 7.992 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Nmap
Affected versions Fixed in before 7.992 7.992
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.