{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-81412","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-08-26T19:00:29.337Z","datePublished":"2026-11-25T17:31:14.207Z","dateUpdated":"2026-11-25T17:31:14.207Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-25T17:31:14.207Z"},"title":"Nmap < 7.992 Unbounded Allocation via Server-Declared Array Count in msrpctypes.lua","descriptions":[{"lang":"en","value":"Nmap before 7.992 contains an excessive memory allocation vulnerability in the unmarshall_array function of the NSE msrpctypes.lua library, which trusts the entry count declared by the server. A malicious SMB server on a scanned host can declare an EntriesRead value of 0xFFFFFFFF with an empty buffer, causing a prolonged CPU spin and exhausting the memory of the Nmap process; the library is used by smb-enum-shares.nse in the default script category (-sC, -A)."}],"tags":["x_open-source"],"datePublic":"2026-10-07T00:00:00.000Z","problemTypes":[{"descriptions":[{"lang":"en","description":"Memory Allocation with Excessive Size Value","cweId":"CWE-789","type":"CWE"}]}],"affected":[{"vendor":"Nmap","product":"Nmap","defaultStatus":"unaffected","repo":"https://github.com/nmap/nmap","versions":[{"version":"0","lessThan":"7.992","status":"affected","versionType":"custom"}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":7.1,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"MEDIUM","baseScore":6.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}}],"references":[{"url":"https://github.com/nmap/nmap/commit/cd6ddce888f6920e0acb88000555de12ba554029","name":"Fix Commit (MSRPC unmarshall errors)","tags":["patch"]},{"url":"https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24","name":"NSE 400MB Memory Limit Commit","tags":["patch"]},{"url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG","name":"Nmap 7.992 Changelog","tags":["release-notes"]},{"url":"https://nmap.org/changelog.html","name":"Nmap Changelog","tags":["release-notes"]},{"url":"https://www.vulncheck.com/advisories/nmap-7.992-unbounded-allocation-via-server-declared-array-count-in-msrpctypes-lua","name":"VulnCheck Advisory: Nmap < 7.992 Unbounded Allocation via Server-Declared Array Count in msrpctypes.lua","tags":["third-party-advisory"]}],"credits":[{"lang":"en","value":"Karan Bamal (SentinelOne)","type":"finder"}],"x_generator":{"engine":"vulncheck"}}}}