Home › CVE › Vulnerabilities
CVE-2026-81408 — Nmap
One of 15 Nmap vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesResearch article
Nmap Unbounded Loop in DRDA Parsing Enables Memory Exhaustion
| CVE | CVE-2026-81408 |
|---|---|
| Vendor and product | Nmap |
| Published | November 25, 2026 21:35 UTC |
| Research cut-off | November 25, 2026 21:15 UTC |
| Sources reviewed | 2: NVD record (last modified 2026-11-25); CISA KEV catalog |
Executive summary
CVE-2026-81408 impacts Nmap versions prior to 7.992, enabling a malicious DRDA service to trigger memory exhaustion through an unbounded loop in the drda.lua library [1]. The CVSS 3.1 score is 6.5 MEDIUM, with the score attributed to disclosure@vulncheck.com [1]. The reviewed sources do not provide evidence of exploitation [2]. The recommended action is to upgrade to the fixed version, 7.992 [1].
Key points
- CVE-2026-81408 affects Nmap versions before 7.992 [1].
- A malicious DRDA service can cause memory exhaustion through an unbounded loop [1].
- The CVSS 3.1 score is 6.5 MEDIUM, with the score attributed to disclosure@vulncheck.com [1].
- CVE-2026-81408 is not listed in the CISA Known Exploited Vulnerabilities Catalog [2].
- The main action is to update to Nmap 7.992 [1].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 4.0 | CVSS 3.1 |
|---|---|---|---|---|---|
| CVE-2026-81408 | Nmap | Nmap | CWE-835 | 7.1 HIGH, scored by disclosure@vulncheck.com | 6.5 MEDIUM, scored by disclosure@vulncheck.com |
| Published | Last Modified | Record Status | |||
| 2026-11-25T18:18:55 | 2026-11-25T18:18:55 | Received |
Vulnerability description
A malicious DRDA service can activate an unbounded loop within Nmap's drda.lua library, leading to uncontrolled memory consumption on 64-bit systems [1]. This causes the Nmap process to deplete available memory and discard results from other hosts in the same scan batch without generating an error message [1]. The vulnerability is invoked during service probe version detection when the -sV option is used [1].
Attack surface and exploitation prerequisites
The exploit relies on a rogue DRDA server running on a host that gets scanned, and the CVSS 3.1 vector indicates that a user must take an action [1]. It is accessible via the network, and the attacker does not need any specific privileges to exploit it [1].
Impact analysis
The CVSS 3.1 vector reflects no impact on confidentiality or integrity, but it indicates a high impact on availability [1]. The vulnerability can result in memory exhaustion, causing the Nmap process to fail in completing scans and losing results for other hosts [1].
Affected products and versions
| Affected Version | Fixed Version |
|---|---|
| Nmap < 7.992 | Nmap 7.992 |
Exploitation and threat intelligence status
CVE-2026-81408 is not included in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-25 [2]. The reviewed sources do not provide evidence of exploitation [2].
Detection and exposure assessment
To assess exposure, confirm if your installed Nmap version is below 7.992 [1]. No specific detection methods are provided by the sources [1].
Remediation
The fixed version is Nmap 7.992 [1]. No mitigation steps are provided by the sources [1].
Remediation checklist
- Upgrade Nmap to version 7.992 [1].
- Verify that all Nmap installations are at the fixed version.
- Monitor network traffic for unusual DRDA service activity.
Evidence gaps
- The sources do not describe the affected component's internals.
- The sources do not mention a workaround.
- The sources do not describe the attack lifecycle.
- The sources do not provide indicators of compromise.
- The sources do not list any fixed version beyond 7.992.
References
- CVE-2026-81408 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-81408. Accessed 2026-11-25.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-25. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-25.
Summary
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).
Severity breakdown
High · 7.1
An attacker without an account can exploit this over the network if a user views or visits something.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Nmap | < 7.992 | 7.992 |
References by type
Patches and fixed releases
- github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24
- github.com/nmap/nmap/commit/bfd3446259426c1207086b3cad1bcf75e30ee304
Other references
Affected
- Nmap
Frequently asked questions
What is CVE-2026-81408?
CVE-2026-81408 impacts Nmap versions prior to 7.992, enabling a malicious DRDA service to trigger memory exhaustion through an unbounded loop in the drda.lua library. The CVSS 3.1 score is 6.5 MEDIUM, with the score attributed to disclosure@vulncheck.com. The reviewed sources do not provide evidence of exploitation. The recommended action is to upgrade to the fixed version, 7.992. Weakness type: Loop with Unreachable Exit Condition ('Infinite Loop') (CWE-835).
How severe is CVE-2026-81408?
CVE-2026-81408 has a CVSS 4.0 base score of 7.1 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something.
Is CVE-2026-81408 being exploited?
Not as far as is known: CVE-2026-81408 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.6% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-81408?
Nmap < 7.992 (fixed in 7.992).
How do I fix CVE-2026-81408?
Upgrade Nmap to version 7.992. Verify that all Nmap installations are at the fixed version. Monitor network traffic for unusual DRDA service activity.