Skip to main content
CVE-2026-81412VulnerabilityPublished

Nmap before 7.992 contains an excessive memory allocation vulnerability in the unmarshall_array function of the NSE

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-81412· High 7.1

Not known to be exploited · CVSS 7.1 High : upgrade to 7.992 soon.

Data as of 25 Nov 2026, 19:06 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.07.1
CNA (VulnCheck)CVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
NmapNmapAffected
  • <7.992
Fixed in
  • 7.992
GitHubNmappkg:github/NmapOther threatsAffected
  • <7.992
Fixed in
  • 7.992

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

Community reviews

Loading reviews…