CVE-2026-81405
Received Received - Intake

Uncontrolled Memory Consumption in Nmap via RPC Fragment Handling

Vulnerability report for CVE-2026-81405, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-25

Last updated on: 2026-11-25

Assigner: VulnCheck

Description

Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the Comm.ReceivePacket function of the NSE rpc.lua library, which buffers ONC-RPC record fragments using the server-declared fragment length without an upper bound. A malicious RPC service on a scanned host can declare fragments of up to roughly 2.1GB, and up to 400 fragments per call, causing the Nmap process to exhaust memory; the read path is reached by rpcinfo.nse during version detection (-sV) and is shared by the NFS, rusers and NetWorker scripts.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-25
Last Modified
2026-11-25
Generated
2026-11-25
AI Q&A
2026-11-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Nmap Nmap From 0 (inc) to 7.992 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-770 The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Nmap before version 7.992 has a flaw in its NSE rpc.lua library where it does not limit memory usage when processing ONC-RPC record fragments. A malicious RPC service can send large fragments (up to 2.1GB each) and multiple fragments per call, causing Nmap to consume excessive memory and crash.

Detection Guidance

This vulnerability can be detected by checking the Nmap version in use. Run 'nmap --version' to see if it is below 7.992. If so, the system is vulnerable. Additionally, monitor for unusual memory consumption during scans using tools like 'top' or 'htop'.

Impact Analysis

This vulnerability can cause Nmap scans to fail or crash due to memory exhaustion. If used in an attack, it may disrupt network scanning operations, leading to downtime or unreliable scan results. Users running Nmap with version detection (-sV) or scripts like rpcinfo.nse, NFS, rusers, or NetWorker are at risk.

Mitigation Strategies

Upgrade Nmap to version 7.992 or later immediately. Avoid using vulnerable NSE scripts like rpcinfo.nse, NFS, rusers, or NetWorker during scans until patched. Restrict access to RPC services on scanned hosts to reduce exposure.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-81405. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...