PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-81412 Nmap CVE debrief

A vulnerability in Nmap versions before 7.992 allows for unbounded memory allocation via a server-declared array count in the msrpctypes.lua library. This issue can be exploited by a malicious SMB server, potentially leading to a prolonged CPU spin and memory exhaustion of the Nmap process. The vulnerability is caused by the unmarshall_array function trusting the entry count declared by the server, allowing for an EntriesRead value of 0xFFFFFFFF with an empty buffer. Defenders should assess exposure and prioritize patching or updating to version 7.992 or later. The vulnerability affects Nmap processes, particularly in environments where Nmap is used for network scanning and may be

Vendor
Nmap
Product
Unknown
CVSS
HIGH 7.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-25
Original CVE updated
2026-11-25
Advisory published
2026-11-25
Advisory updated
2026-11-25

Who should care

Defenders responsible for managing and securing network scanning tools, particularly those using Nmap, should assess exposure and prioritize patching or updating to version 7.992 or later.

Why it matters

Defenders should care about this vulnerability as it can lead to memory exhaustion and prolonged CPU spin in Nmap processes, particularly in environments where Nmap is used for network scanning and interacts with potentially malicious SMB servers.

  • Potential memory exhaustion of Nmap process
  • Prolonged CPU spin caused by malicious SMB server
  • Need for patching or updating to version 7.992 or later
  • Verification of Nmap version and exposure to SMB servers

Technical summary

The vulnerability is caused by the unmarshall_array function in msrpctypes.lua trusting the entry count declared by the server, allowing for an EntriesRead value of 0xFFFFFFFF with an empty buffer, potentially leading to a prolonged CPU spin and memory exhaustion of the Nmap process. The vulnerability affects Nmap versions before 7.992 and can be exploited by a malicious SMB server. The issue is particularly relevant in environments where Nmap is used for network scanning and interacts with potentially malicious SMB servers. Defenders should prioritize patching or updating Nmap to version 7.992 or later to prevent potential memory exhaustion attacks.

Defensive priority

Defenders should prioritize patching or updating Nmap to version 7.992 or later to prevent potential memory exhaustion attacks.

Recommended defensive actions

  • Update Nmap to version 7.992 or later
  • Restrict access to SMB servers to trusted hosts
  • Monitor Nmap process memory usage
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The vulnerability is caused by the unmarshall_array function in msrpctypes.lua trusting the entry count declared by the server, allowing for an EntriesRead value of 0xFFFFFFFF with an empty buffer. The source-provided CVE metadata and official advisory confirm the vulnerability. However, detailed exploitation scenarios and specific attack vectors are not provided. Defenders should verify Nmap version and exposure to SMB servers. Evidence is limited to publicly available information and may not reflect the full scope or impact of the

Sources and references

Verified primary and authoritative sources

  • CVE-2026-81412 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-81412

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-81412 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-81412

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Nmap < 7.992 Unbounded Allocation via Server-Declared Array Count in msrpctypes.lua

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/81xxx/CVE-2026-81412.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nmap/nmap/commit/cd6ddce888f6920e0acb88000555de12ba554029

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nmap/nmap/blob/v7.992/CHANGELOG

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://nmap.org/changelog.html

    Supplemental source - release-notes

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/nmap-7.992-unbounded-allocation-via-server-declared-array-count-in-msrpctypes-lua

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.