CVE-2026-81411
published high CVSS 4.0 · 7.1Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Nmap | — | Nmap0 to < 7.992 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.5 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Nmap | Nmap | 0 to < 7.992 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
5- Nmap 7.992 Changelog https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- NSE Timer Callback Commit https://github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7
- NSE 5-Second Non-Yielding Thread Kill Commit https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096
- Nmap Changelog https://nmap.org/changelog.html
- VulnCheck Advisory: Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-zero-length-gcc-block-in-rdp-lua
Provider assertions
2VulnCheck · cna
Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0150b225d11ccfcde6f50f738f8923d93f03f76ba15ff8abf00fcbbbe7addcae
- Ingested
- 27 Nov 2026, 16:47:37 UTC
- Source record
- Official CVE record