Nmap < 7.992 Unbounded Loop via Malicious DRDA Response in drda.lua
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 25, 2026
- Updated
- Nov 30, 2026
- Reserved
- Aug 26, 2026
Description
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).
| Product | Versions |
|---|---|
| Nmap Nmap | before 7.992 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
- NSE 400MB Memory Limit CommitPatch
- NSE Memory Limit Refinement CommitPatch
- Nmap 7.992 ChangelogRelease Notes
- Nmap ChangelogRelease Notes
- VulnCheck Advisory: Nmap < 7.992 Unbounded Loop via Malicious DRDA Response in drda.luaThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.