{"id":"CVE-2026-81408","summary":"Nmap \u003c 7.992 Unbounded Loop via Malicious DRDA Response in drda.lua","details":"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).","modified":"2026-11-25T19:00:11.266400745Z","published":"2026-11-25T17:29:23.560Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-835"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81408.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81408.json"},{"type":"PACKAGE","url":"https://github.com/nmap/nmap"},{"type":"ADVISORY","url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG"},{"type":"FIX","url":"https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24"},{"type":"FIX","url":"https://github.com/nmap/nmap/commit/bfd3446259426c1207086b3cad1bcf75e30ee304"},{"type":"ADVISORY","url":"https://nmap.org/changelog.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81408"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nmap-7.992-unbounded-loop-via-malicious-drda-response-in-drda-lua"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nmap/nmap","events":[{"introduced":"0"},{"fixed":"0ee561663c1d7d2d4e708cd414dccfd3d9df30d9"},{"fixed":"9de32e381e5fde01e18f1a62b04b3c44ded59c24"},{"fixed":"bfd3446259426c1207086b3cad1bcf75e30ee304"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"7.992"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"9de32e381e5fde01e18f1a62b04b3c44ded59c24"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"bfd3446259426c1207086b3cad1bcf75e30ee304"}]}]}}],"versions":["v7.991"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81408.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}