CVE-2026-81411: Nmap < 7.992 Infinite Loop via Zero-Length GCC Block in rdp.lua

Published Nov 25, 2026
·
Updated

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 Software

1 affected component
Nmap Nmap<7.992

Event History

Nov 25, 2026
CVE Published
via MITRE·05:30 PM
Data Sourced
via MITRE·05:30 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

When is a scan exposed to this issue?

The issue is exposed when Nmap scans a malicious RDP server using rdp-enum-encryption.nse. That script is in the default script category, so it can run with -sC or -A.

2

Does an attacker need credentials or prior access to the scanning system?

No. A malicious RDP server on a host being scanned can trigger the condition during an otherwise valid RDP handshake; the vector is network-based and requires user interaction.

3

Will Nmap's script-timeout setting stop the affected scan?

No. The malformed zero-length GCC block causes a permanent 100% CPU hang in the Nmap process that script-timeout does not interrupt.

4

What versions are affected?

Nmap versions before 7.992 are affected. Updating to 7.992 or later addresses the vulnerable parser behavior.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203