Excessive Memory Allocation Vulnerability in Nmap by Insecure SMB Server Declaration
CVE-2026-81412

7.1HIGH

Key Information:

Vendor

Nmap

Status
Vendor
CVE Published:
25 November 2026

What is CVE-2026-81412?

Nmap versions prior to 7.992 contain a vulnerability within the unmarshall_array function of the NSE msrpctypes.lua library. This vulnerability allows a malicious SMB server to declare an EntriesRead value of 0xFFFFFFFF with an empty buffer. As a result, this can lead to a prolonged CPU spin and excessive memory consumption by the Nmap process during scans, particularly when using the smb-enum-shares.nse script in the default script category. This behavior poses a risk of exhausting system resources and can disrupt normal operations.

Affected Version(s)

Nmap 0 < 7.992

References

CVSS V4

Score:
7.1
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Karan Bamal (SentinelOne)
.