Skip to main content

Nmap EUVDEUVD-2026-135599

| CVE-2026-81405 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-25 VulnCheck GHSA-cccq-fxpq-3j3f
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker hosts malicious ONC-RPC service
  2. Exploit
    Operator scans host with -sV or NFS/rusers scripts
  3. Execution
    rpc.lua buffers server-declared 2.1GB fragments unbounded
  4. Impact
    Nmap process exhausts memory and crashes

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to control an RPC service on a host and requires the Nmap operator to actively scan that host via a code path reaching Comm.ReceivePacket in rpc.lua - specifically version detection (-sV, which runs rpcinfo.nse) or the NFS, rusers, or NetWorker NSE scripts. The attacker cannot trigger the condition remotely on their own; the operator must initiate the scan (UI:P), which is the primary limiting factor. Impact is confined to availability of the Nmap scanning process (memory exhaustion/crash) with no confidentiality or integrity impact and no code execution. Affected: Nmap before 7.992 (fixed in 7.992).

Impact

This is a denial-of-service-only flaw (CWE-770, uncontrolled resource consumption) with an unusual role reversal: the victim is the Nmap operator, not a scanned server. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) correctly limits impact to availability (VA:H) with no confidentiality or integrity effect, and critically uses UI:P - exploitation requires the operator to actively scan a host the attacker controls. No EPSS score, KEV listing, or PoC reference was supplied, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a patchable, non-RCE, operator-triggered DoS. Net assessment: a real but bounded issue - base score 7.1 overstates urgency for most environments because the attacker cannot reach the code path unless the target chooses to scan them with -sV or the NFS/rusers/NetWorker scripts; it matters most for automated/mass scanning pipelines where a single hostile host could crash scan jobs. No signals conflict; the main caveat is that no EPSS/KEV/PoC data was provided to gauge exploitation likelihood in the wild.

Exploit ScenarioDerived

An attacker stands up a malicious ONC-RPC service that, when queried, declares record fragments of up to ~2.1GB (and up to 400 fragments per call). When an operator runs Nmap version detection (-sV, which invokes rpcinfo.nse) or the NFS/rusers/NetWorker NSE scripts against that host, Comm.ReceivePacket buffers the attacker-declared length without bound and the Nmap process exhausts memory and dies. No public exploit was identified in the provided data; the source diff confirms the unbounded-read root cause.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.7% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

Memory exhaustion in the Nmap Scripting Engine's rpc.lua library (Nmap before 7.992) lets a malicious ONC-RPC service on a scanned host crash the scanning process by declaring record fragments of up to roughly 2.1 GB across as many as 400 fragments per call. The flaw is in Comm.ReceivePacket, which buffers server-declared fragment lengths without an upper bound and is reachable through rpcinfo.nse during version detection (-sV) and through the NFS, rusers and NetWorker NSE scripts. Impact is confined to availability of the scanner with no confidentiality, integrity or code-execution impact, and exploitation requires the operator to actively scan the attacker's host (unauthenticated from the attacker's side, PR:N, but UI:P); no public exploit code has been identified at time of analysis, and the vendor-released patch is Nmap 7.992.

RemediationAI

Upgrade to Nmap 7.992 or later, the vendor-released patch; the fix is in upstream commits f0e4ac576afacccfff5c669c196b2109315e1ca5 and 9de32e381e5fde01e18f1a62b04b3c44ded59c24, which bound the fragment read in nselib/rpc.lua and return a short-read error instead of buffering an attacker-declared length. No separate vendor workaround is documented in the available references, and hardening the scanned host does nothing because the memory is consumed on the scanner side. If upgrading cannot be done immediately, the exposure described by the advisory can be removed by not running version detection (-sV) or the NFS, rusers and NetWorker NSE scripts against hosts you do not control, at the cost of losing service/version fingerprinting and those script results precisely where they are most useful; alternatively, run such scans inside a memory-capped container or under a ulimit -v ceiling so exhaustion terminates only the scan process instead of destabilising the operator's machine, accepting that the affected scans will fail instead of completing.

Affected VersionsENISA

nmap 0 <7.992

Affected Packages

euvd nmap fix: 7.992

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The NSE rpc.lua library implements the ONC-RPC (Sun RPC) client handling that Nmap scripts use to talk to rpcbind/portmapper and related services. ONC-RPC record marking (RFC 5531) prefixes every record fragment with a 4-byte header whose low 31 bits carry the fragment length, so a single declared fragment can legitimately be up to about 2.1 GB. Comm.ReceivePacket consumed that server-supplied length directly and buffered the corresponding data with no cap, looping over up to 400 fragments per call. The root cause class is CWE-770 (uncontrolled resource consumption): an attacker-controlled length field drives buffering on the client, so a hostile RPC endpoint simply advertises oversized fragments and feeds or stalls data until the Nmap process and the machine it runs on run out of memory. The upstream commits replace the hand-rolled receive loop with a bounded socket:receive_bytes(toread) call that verifies the full fragment arrived and returns a short-read error rather than growing an unbounded string. The CPE cpe:2.3:a:nmap:nmap:*:*:*:*:*:*:*:* covers all builds prior to 7.992; because the vulnerable code is client-side, any scan mode or script that parses RPC replies (version detection via rpcinfo.nse, plus the NFS, rusers and NetWorker scripts) is exposed.

Know when Nmap gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

Attacker's RPC service is reachable over the network (AV:N) with no auth (PR:N), but the operator must run the scan (UI:R); only the Nmap process availability is impacted (A:H, C:N/I:N).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-81405 is a high-severity memory exhaustion flaw in Nmap's scripting engine (rpc.lua) that can crash the scanner when it performs version detection or runs certain NSE scripts against a malicious host. This affects security teams and network operations staff who rely on Nmap for discovery and assessment, potentially disrupting scheduled scans and incident response activities. Leadership should prioritize patching to avoid operational delays and maintain visibility across the network.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 51% exploitable
Prevalence
High
Nmap is one of the most widely deployed network scanning tools in security/IT
Data Quality
7 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Nmap

View all
CVE-2013-4885 MEDIUM POC
6.8 Oct 26

The http-domino-enum-passwords.nse script in NMap before 6.40, when domino-enum-passwords.idpath is set, allows remote s

CVE-2019-11490 HIGH POC
7.8 Apr 24

An issue was discovered in Npcap 0.992. Rated high severity (CVSS 7.8), this vulnerability is low attack complexity. Pub

CVE-2018-15173 HIGH POC
7.5 Aug 08

Nmap through 7.70, when the -sV option is used, allows remote attackers to cause a denial of service (stack consumption

CVE-2026-58058 MEDIUM POC
6.9 Jun 28

Out-of-bounds reads and a process crash in Nmap through 7.99 can be triggered remotely by any host that is being scanned

CVE-2026-137978 HIGH
7.7 Nov 27

A use-after-free in Nmap's parallel DNS resolver (DNS::ResolverImpl::process_request in libnetutil/massdns.cc) affects N

CVE-2026-137977 HIGH
7.7 Nov 27

Use-after-free in Nmap's parallel DNS resolver (libnetutil/massdns.cc) in all versions before 7.992 allows an attacker w

CVE-2026-81406 HIGH
7.1 Nov 25

Memory exhaustion in Nmap's db2-das-info NSE script lets a malicious or spoofed DB2 Administration Server on a scanned h

CVE-2026-81408 HIGH
7.1 Nov 25

Memory exhaustion in Nmap's NSE scripting engine (versions before 7.992) lets a hostile DRDA service consume unbounded m

CVE-2026-81412 HIGH
7.1 Nov 25

Memory exhaustion and prolonged CPU spin in Nmap's NSE MSRPC library (nselib/msrpctypes.lua) affects Nmap releases befor

CVE-2026-81411 HIGH
7.1 Nov 25

A malformed RDP handshake response can hang the Nmap scanner process at 100% CPU indefinitely, because the rdp.lua NSE l

CVE-2026-81415 MEDIUM
6.0 Nov 25

Nmap releases before 7.992 can be driven into a permanent 100% CPU hang while running the NSE script tn3270-screen.nse (

CVE-2026-81414 MEDIUM
6.0 Nov 25

Memory exhaustion and quadratic CPU consumption in Nmap before 7.992 can be induced through the NSE dns.lua library when

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy