CVE-2026-81411

Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua

High published · updated

7.1
CVSS score out of 10 · NVD (vulncheck.com)

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).

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
nmap nmap 0 → <7.9927.992 CVE.org

References