Vulnerability

CVE-2026-81412

highCVSS 4.0 7.1Published 25 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /nmap/nmap/blob/v7.992/CHANGELOG
  • github.com /nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24
  • github.com /nmap/nmap/commit/cd6ddce888f6920e0acb88000555de12ba554029
  • nmap.org /changelog.html
  • www.vulncheck.com /advisories/nmap-7.992-unbounded-allocation-via-server-decl…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning