CVE-2026-81408: Nmap < 7.992 Unbounded Loop via Malicious DRDA Response in drda.lua

Published Nov 25, 2026
·
Updated

Nmap before 7.992 contains a loop with an unreachable exit condition in the parameter-list parsing of the NSE drda.lua library, which keeps growing its parameter list while processing a malicious DRDA response. A malicious DRDA service on a scanned host can make the loop consume memory without bound on 64-bit builds, exhausting the Nmap process and discarding NSE results for every other host in the same scan batch without reporting an error; the library is reached by service probes during version detection (-sV).

Affected Software

1 affected component
Nmap Nmap<7.992

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.992

Event History

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

Frequently Asked Questions

1

Who is exposed to this issue?

Operators running Nmap versions before 7.992 are exposed when they perform version detection against a host operating a malicious DRDA service. The affected parsing library is reached during -sV service probes.

2

What must an attacker do to trigger the problem?

An attacker needs to operate or control a scanned DRDA service and return a malicious DRDA response during the scan. No authentication is required, but the vulnerable Nmap instance must scan that service with version detection enabled.

3

What is the operational impact during a scan?

On 64-bit builds, the Nmap process can consume memory without bound until it is exhausted. NSE results for every other host in the same scan batch can be discarded, and Nmap may not report an error.

4

How can I tell whether a scan may have been affected?

Look for Nmap scans using -sV that experienced unexplained memory growth or exhaustion and missing NSE results for other hosts in the same batch. The failure may occur without an error message.

5

What should be done if patching is not immediately possible?

Avoid using -sV against untrusted or potentially hostile DRDA services until Nmap can be updated. Upgrade to version 7.992 or later when possible.

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