CVE-2026-81411
Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua
High · 7.1Fix available
- CVSS
- 7.1
- EPSS
- 0.30% (p15)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-27
- Product
- Nmap Nmap
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
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).
Fixed in
7.992
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Nmap | >=0, <7.992 | 7.992 |
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096 patch
- https://github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7 patch
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG release-notes
- https://nmap.org/changelog.html release-notes
- https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-zero-length-gcc-block-in-rdp-lua third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81411.json advisory
- https://github.com/nmap/nmap package
- https://nvd.nist.gov/vuln/detail/CVE-2026-81411 advisory