PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-81405 Nmap CVE debrief

A memory exhaustion vulnerability exists in Nmap versions before 7.992. The Comm.ReceivePacket function in the NSE rpc.lua library does not impose an upper bound on ONC-RPC record fragments based on the server-declared fragment length. A malicious RPC service on a scanned host can declare fragments up to roughly 2.1GB and up to 400 fragments per call. This can cause the Nmap process to exhaust memory during version detection (-sV) and when using certain scripts like rpcinfo.nse, NFS, rusers, and NetWorker.

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 like Nmap should assess exposure and prioritize patching or updating to version 7.992 or later. This includes operators, platform administrators, vulnerability management teams, and security teams who need to ensure that Nmap deployments are updated to prevent potential memory exhaustion attacks. Additionally, defenders should review compensating controls for exposed systems and monitor

Why it matters

Defenders should care about CVE-2026-81405 because it affects Nmap versions before 7.992, potentially leading to memory exhaustion and denial of service. The vulnerability can be exploited during version detection and script execution, making it important for defenders to assess exposure and prioritize patching or updating to version 7.992 or later.

  • Potential memory exhaustion leading to denial of service
  • Increased risk during version detection and script execution
  • Need for patching or updating Nmap to prevent exploitation
  • Possible impact on network scanning and reconnaissance activities

Technical summary

The Comm.ReceivePacket function in the NSE rpc.lua library of Nmap versions before 7.992 does not impose an upper bound on ONC-RPC record fragments based on the server-declared fragment length. A malicious RPC service on a scanned host can declare fragments up to roughly 2.1GB and up to 400 fragments per call, potentially causing the Nmap process to exhaust memory during version detection (-sV) and when using certain scripts like rpcinfo.nse, NFS, rusers, and NetWorker. This vulnerability can lead to memory exhaustion and denial of service, making it crucial for defenders to assess exposure and prioritize patching or updating to version 7.992 or later.

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 Nmap for users who may be targeted by malicious RPC services
  • Monitor Nmap usage for potential memory exhaustion attacks
  • 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 CVE record and source item provide details on the vulnerability, including its impact on Nmap versions before 7.992 and potential attack vectors. The Comm.ReceivePacket function in the NSE rpc.lua library of Nmap versions before 7.992 does not impose an upper bound on ONC-RPC record fragments based on the server-declared fragment length. A malicious RPC service on a scanned host can declare fragments up to roughly 2.1GB and up to 400 fragments per call, potentially causing the Nmap process to exhaust memory. Defenders should focus

Sources and references

Verified primary and authoritative sources

  • CVE-2026-81405 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-81405 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Nmap < 7.992 Memory Exhaustion via Unbounded ONC-RPC Fragment Length in rpc.lua

    Unverified legacy reference

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

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

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

    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-memory-exhaustion-via-unbounded-onc-rpc-fragment-length-in-rpc-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.