Nmapに無制限ループの脆弱性、悪意あるDRDA応答でメモリを使い尽くされるおそれ
Summary
Nmap 7.992より前のバージョンには、NSEのdrda.luaライブラリで終了条件に到達しないループがあり、悪意あるDRDA応答でメモリを際限なく消費させられるおそれがあります。影響を受けるのはバージョン検出(-sV)実行時で、Nmapプロセスが止まり、同じスキャンの他のホストの結果も失われる可能性があります。修正版の7.992が公開されているため、Nmapを7.992以降に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Nmap 7.992より前のバージョンには、NSEのdrda.luaライブラリで終了条件に到達しないループがあり、悪意あるDRDA応答でメモリを際限なく消費させられるおそれがあります。影響を受けるのはバージョン検出(-sV)実行時で、Nmapプロセスが止まり、同じスキャンの他のホストの結果も失われる可能性があります。修正版の7.992が公開されているため、Nmapを7.992以降に更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| NmapNmap |
< 7.992→ 7.992 |
7.992 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-81408 nmap Fix available
- Ubuntu UBUNTU-CVE-2026-81408 nmap No fixed version in this record
Original description The description as published by the source.
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).
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nmap.org
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com