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).
Configurations

No configuration.

History

25 Nov 2026, 18:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-25 18:18

Updated : 2026-11-30 21:17


NVD link : CVE-2026-81412

Mitre link : CVE-2026-81412

CVE.ORG link : CVE-2026-81412


JSON object : View

Products Affected

No product.

CWE
CWE-789

Memory Allocation with Excessive Size Value