CVE-2026-81412
CVE-2026-81412 — Nmap < 7.992 Unbounded Allocation via Server-Declared Array Count in msrpctypes.lua
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 Updated Sources: cvelistV5, VulnCheck
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
6.5
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.5 | CVSS 3.1 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-789
References
5 on the record
- 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-declared-array-count-in-msrpctypes-lua
third-party-advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-20295 Cisco Secure Firewall Management Center and Secure Firewall Threat Defense Software sftunnel Memory Exhaustion Denial of Service VulnerabilityCVSS 8.6
- CVE-2026-49975 Apache HTTP Server: mod_http2 denial of serviceCVSS 7.5
- CVE-2026-47321 Apache MINA: Unbounded Decompression Amplification DoS in Zlib.inflateCVSS 7.5
- CVE-2025-15709 Memory Allocation with Excessive Size Value in Elasticsearch ES|QL Leading to Denial of ServiceCVSS 6.5
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.