CVE-2026-81411
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…
Impact
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).
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: high risk of outages.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Nmap | Nmap | before 7.992 |
| Open source | Nmap | before 7.992 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096
- https://github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7
- 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
- https://github.com/advisories/GHSA-hp47-6m7v-h6wg
- https://nvd.nist.gov/vuln/detail/CVE-2026-81411