CVE-2026-81412
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).
Am I affected?
Check a product version without an account, or sign in for saved inventory assessments.
Ask about this evidenceTimeline
- Published by NVD
- Last updated by NVD
Source evidence and freshness
Lifecycle: Awaiting Analysis. Technical severity: CVSS 4.0 · Provider: disclosure@vulncheck.com. Exploitation evidence and inventory applicability are separate assessments.
Source configuration conditions
Source expressions may include required platforms and alternatives. Unsupported expressions remain unresolved in the version checker.
[]
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X