Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-81412 — Nmap

High · CVSS 7.1EPSS 0.4% First seen November 25, 2026

One of 15 Nmap vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Research article

Nmap Memory Allocation Flaw in SMB Scanning Scripts

CVECVE-2026-81412
Vendor and productNmap
PublishedNovember 25, 2026 21:35 UTC
Research cut-offNovember 25, 2026 21:10 UTC
Sources reviewed2: NVD record (last modified 2026-11-25); CISA KEV catalog

Executive summary

CVE-2026-81412 involves an excessive memory allocation vulnerability in Nmap's SMB scanning scripts, rated CVSS 3.1 base score 6.5 MEDIUM by disclosure@vulncheck.com [1]. The flaw affects Nmap versions before 7.992 and is fixed in 7.992 [1]. The reviewed sources do not report exploitation [2]. The main action is to update to the fixed version.

Key points

  • CVE-2026-81412 is a memory allocation vulnerability in Nmap's SMB scanning scripts [1].
  • The CVSS 3.1 base score is 6.5 MEDIUM, rated by disclosure@vulncheck.com [1].
  • The vulnerability affects Nmap versions before 7.992 and is fixed in 7.992 [1].
  • The reviewed sources do not report exploitation [2].
  • The main action is to update to the fixed version of Nmap.

Vulnerability identification

CVE IDVendorProductCWECVSS 4.0CVSS 3.1
CVE-2026-81412NmapNmapCWE-7897.1 HIGH, scored by disclosure@vulncheck.com (Secondary)6.5 MEDIUM, scored by disclosure@vulncheck.com (Primary)
PublishedLast ModifiedRecord Status
2026-11-25T18:18:562026-11-25T18:18:56Received

Vulnerability description

A vulnerability exists in the unmarshallarray function of Nmap's NSE msrpctypes.lua library, which fails to validate the entry count provided by an SMB server. The record states that an SMB server controlled by an attacker, running on a host that gets scanned, can report an EntriesRead value of 0xFFFFFFFF alongside an empty buffer, leading to prolonged CPU use and memory exhaustion [1].

Attack surface and exploitation prerequisites

The CVSS 3.1 vector indicates the vulnerability requires user interaction. The record states that an SMB server controlled by an attacker, running on a host that gets scanned, can claim a count of entries that sets off the flaw [1].

Impact analysis

The CVSS 3.1 vector highlights the high impact on system availability. The attack can cause the Nmap process to consume memory and spin the CPU, potentially leading to a denial of service [1].

Affected products and versions

Affected VersionFixed Version
Nmap < 7.9927.992

Exploitation and threat intelligence status

CVE-2026-81412 is not listed in the CISA Known Exploited Vulnerabilities Catalog as of 2026-11-25 [2]. The reviewed sources do not report exploitation.

Detection and exposure assessment

To determine if a system is exposed, check if it runs Nmap versions earlier than 7.992. The affected version range is explicitly listed in the CVE record [1].

Remediation

Upgrade Nmap to version 7.992, the fixed version [1].

Remediation checklist

  1. Upgrade Nmap to version 7.992 to address the vulnerability [1].
  2. Verify the current version of Nmap to ensure it is not in the affected range [1].
  3. Monitor network traffic for unusual SMB activity that may indicate exploitation attempts.

Evidence gaps

  • The sources do not describe the affected component's internals.
  • The sources do not mention a workaround.
  • The sources do not describe a scenario or attack lifecycle.
  • The sources do not provide indicators of compromise.
  • The sources do not list a fixed version for all affected products.

References

  1. CVE-2026-81412 record. NIST National Vulnerability Database (NVD), 2026-11-25. https://nvd.nist.gov/vuln/detail/CVE-2026-81412. Accessed 2026-11-25. CVE-2026-81412 record, CVSS scores, CWE, affected versions, official description
  2. Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-25. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-25. CISA KEV status, no exploitation reported

Written with AI assistance from the 2 sources listed above, as of the research cut-off; each fact is cited to its source. Check the vendor's advisory before acting.

Summary

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

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.1 CVSS 4.0 base score from the CNA (vulncheck.com)

An attacker without an account can exploit this over the network if a user views or visits something.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
yes, a user must view or visit something
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

Vector 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 6.5 from the CNA (vulncheck.com): CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Weakness

  • CWE-789: Memory Allocation with Excessive Size Value

Affected and fixed versions

ProductAffected versionsFixed in
Nmap< 7.9927.992

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • Nmap

Frequently asked questions

What is CVE-2026-81412?

CVE-2026-81412 involves an excessive memory allocation vulnerability in Nmap's SMB scanning scripts, rated CVSS 3.1 base score 6.5 MEDIUM by disclosure@vulncheck.com. The flaw affects Nmap versions before 7.992 and is fixed in 7.992. The reviewed sources do not report exploitation. The main action is to update to the fixed version. Weakness type: Memory Allocation with Excessive Size Value (CWE-789).

How severe is CVE-2026-81412?

CVE-2026-81412 has a CVSS 4.0 base score of 7.1 (high), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something.

Is CVE-2026-81412 being exploited?

Not as far as is known: CVE-2026-81412 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-81412?

Nmap < 7.992 (fixed in 7.992).

How do I fix CVE-2026-81412?

Upgrade Nmap to version 7.992 to address the vulnerability. Verify the current version of Nmap to ensure it is not in the affected range. Monitor network traffic for unusual SMB activity that may indicate exploitation attempts.

Timeline & sources

References