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
- github.com/nmap/nmap/commit/cd6ddce888f6920e0acb88000555de12ba554029 (patch)
- github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24 (patch)
- github.com/nmap/nmap/blob/v7.992/CHANGELOG (release-notes)
- nmap.org/changelog.html (release-notes)
- www.vulncheck.com/advisories/nmap-7.992-unbounded-allocation-via-server-declare… (third-party-advisory)