CVE-2026-81412: high-severity vulnerability in Nmap
Nmap < 7.992 Unbounded Allocation via Server-Declared Array Count in msrpctypes.lua
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.1epss 0.4%
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).
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
Affected products
Nmap · NmapRelated CVEs — Nmap
In the same product, most dangerous first.
CVE-2026-58058MEDIUMNmap - Integer Underflow in IPv6 Extension Header ParsingEPSS 1.4%CVE-2026-81406HIGHNmap < 7.992 Memory Exhaustion via Unbounded DB2 DAS Packet Length in db2-das-info.nseEPSS 0.7%CVE-2026-81405HIGHNmap < 7.992 Memory Exhaustion via Unbounded ONC-RPC Fragment Length in rpc.luaEPSS 0.7%CVE-2026-81419MEDIUMNmap < 7.992 Infinite Loop via Zero-Length LSA Header in ospf.luaEPSS 0.7%CVE-2026-137977HIGHNmap before 7.992 Use-After-Free via DNS Resolver handle_writeEPSS 0.6%CVE-2026-137978HIGHNmap before 7.992 Use-After-Free via Parallel DNS Resolver process_requestEPSS 0.6%