Nmap before 7.992 contains an excessive memory allocation vulnerability in the unmarshall_array function of the NSE
Source GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 7.992 soon.
Data as of 25 Nov 2026, 19:06 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 7.1 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.5 |
- Patch
- Available – fixed in 7.992
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade Nmap to 7.992.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| NmapNmap | Affected
| Fixed in
|
GitHubNmappkg:github/NmapOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should consider avoiding scanning untrusted SMB servers or disabling the smb-enum-shares.nse script to mitigate the risk.
Description
Nmap versions prior to 7.992 have a vulnerability in the unmarshall_array function of the NSE msrpctypes.lua library. This flaw allows a malicious SMB server to cause excessive memory allocation by declaring a large EntriesRead value with an empty buffer, leading to prolonged CPU usage and memory exhaustion in the Nmap process. The affected library is used by the smb-enum-shares.nse script in the default script category.
References
- nvd.nist.gov/vuln/detail/CVE-2026-81412 (opens in a new tab)
- github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24 (opens in a new tab)
- github.com/nmap/nmap/commit/cd6ddce888f6920e0acb88000555de12ba554029 (opens in a new tab)
- github.com/nmap/nmap/blob/v7.992/CHANGELOG (opens in a new tab)
- nmap.org/changelog.html (opens in a new tab)
- vulncheck.com/advisories/nmap-7.992-unbounded-allocation-via-server-declared-array-count-in-msrpctypes-lua (opens in a new tab)