CVE Explore

Vulnerability in Nmap

CVE-2026-81412

CVSS v3
6.5 Medium
Public exploits
None known
EPSS
Not scored yet
Published
2026-11-25

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

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Attack Vector
Network AV:N
Attack Complexity
Low AC:L
Privileges Required
None PR:N
User Interaction
Required UI:R
Scope
Unchanged S:U
Confidentiality
None C:N
Integrity
None I:N
Availability
High A:H

EPSS exploit prediction

FIRST.org has not scored this CVE yet. About EPSS.

Affected products

Weakness classification (CWE)

References