Skip to main content

Nmap EUVDEUVD-2026-135600

| CVE-2026-81406 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-25 VulnCheck GHSA-pr87-w9vq-95jc
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Operator launches Nmap -sV version scan
  2. Delivery
    Script connects to attacker-controlled DB2 DAS
  3. Exploit
    Server returns oversized 32-bit length (~4.29GB)
  4. Execution
    Script buffers declared length
  5. Impact
    Nmap process exhausts memory and dies

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 that the operator actively run Nmap with service/version detection (-sV) against a host the attacker controls, and that the vulnerable db2-das-info.nse script execute against a (real or spoofed) DB2 Administration Server on that host. The attacker must control the scanned endpoint's responses to supply the oversized unmasked 32-bit packet length. Limiting factors: this is not triggered by passively running a service - it needs operator-initiated scanning with version detection enabled (UI:P), the attacker must own or impersonate the scanned DB2 DAS service, and impact is confined to availability of the Nmap process (crash/memory exhaustion), with no code execution, data exposure, or impact to the scanned host. There is no condition under which an external party can trigger this without the operator first choosing to scan them.

Impact

This is a moderate, availability-only issue whose signals are internally consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VA:H, VC/VI:N) correctly captures that the only impact is memory exhaustion (denial of service) of the Nmap process itself - there is no confidentiality or integrity consequence - and that the attack is triggered only when a human operator initiates a version-detection scan (UI:P / passive user interaction). Critically, the threat model is inverted from a typical server CVE: the 'attacker' is a malicious or attacker-controlled scanned host running a rogue DB2 Administration Server, and the 'victim' is the Nmap client doing the scanning. The vuln.today priority is this_week and the fix is vendor-confirmed, but there is no CISA KEV listing and no EPSS score supplied, so there is no evidence of active exploitation or high exploitation probability. No public exploit is identified in the input (the only GitHub links are patch commits, not PoC code). Net: a legitimate but not emergency-grade bug - a self-inflicted DoS risk for scanning infrastructure, not a remotely-triggerable compromise of exposed services. Prioritize patching Nmap on scanning hosts within the normal cycle; it is not a high-CVSS-but-trivial issue, but neither does it warrant emergency response.

Exploit ScenarioDerived

A defender or red-teamer runs 'nmap -sV' against a host controlled by an attacker, which exposes a rogue DB2 Administration Server (DAS). When the db2-das-info.nse script negotiates, the malicious server declares a packet length of up to ~4.29GB in an unmasked 32-bit length field; Nmap trusts it and attempts to buffer that much data, exhausting memory and crashing or hanging the Nmap process. No public exploit code is identified in the provided data, though the trivial trigger (a crafted length field from a server the attacker already controls) makes weaponization low-effort.

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 Nmap's db2-das-info NSE script lets a malicious or spoofed DB2 Administration Server on a scanned host declare a packet length of up to roughly 4.29GB, causing Nmap to buffer that data and run out of memory during version detection. Only operators who actively run Nmap with -sV against a host the attacker controls are exposed, and impact is confined to availability of the scanning process - no code execution, data exposure, or effect on the scanned host. The issue is fixed in Nmap 7.992 via two upstream commits that cap the declared packet length; no public exploit code was identified at time of analysis and the flaw has not been confirmed actively exploited (CISA KEV).

RemediationAI

Upgrade to Nmap 7.992, which contains the bounded-length and buffering fixes in db2-das-info.nse; the release is documented in the Nmap changelog (https://nmap.org/changelog.html) and the fixes can be reviewed at https://github.com/nmap/nmap/commit/c6ae85544d97b10897937da3c78adb95107b01bd and https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24, with context in the VulnCheck advisory (https://www.vulncheck.com/advisories/nmap-7.992-memory-exhaustion-via-unbounded-db2-das-packet-length-in-db2-das-info-nse). If upgrading cannot happen immediately, run version detection only against hosts you own or trust, and suppress this script when scanning untrusted or internet-facing targets by excluding it from the script set (for example via --script with an explicit list that omits db2-das-info, or by disabling the script in your NSE script selection), accepting the trade-off that DB2 Administration Server identification will no longer be performed on those scans. Because exploitation requires the operator to scan an attacker-controlled or impersonated DB2 DAS endpoint, restricting -sV scans of untrusted hosts to a sandboxed or memory-limited environment also bounds the blast radius of a successful exhaustion attempt.

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 flaw lives in read_db2_packet() in scripts/db2-das-info.nse, a Lua NSE script that speaks the DB2 Administration Server wire protocol and runs as part of service/version detection (-sV). The packet header carries a 32-bit data-length field that the script trusted without masking or bounding; a hostile server could set it to a value approaching 2^32, and the script would loop on socket:receive_bytes() appending into a Lua string buffer until that much data was assembled, exhausting the Nmap process's memory. This is CWE-770 (Allocation of Resources Without Limits or Throttling): an unvalidated length field from an untrusted peer drives unbounded allocation. The upstream fix clamps header.data_len to 158 + 0xffff - the maximum meaningful value given that parse_db2_packet reads a 2-byte-length-prefixed field at offset 158 - and replaces repeated string concatenation with a table of chunks joined via table.concat, so both the allocation ceiling and the buffering behavior are corrected. The assessed vector (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) reflects that the attacker is remote and unauthenticated but the operator must first choose to scan the attacker's endpoint with version detection enabled; there is no path for an external party to trigger this without that operator action.

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

Network-reachable malicious server, low complexity, no privileges, but the operator must initiate the -sV scan (UI:R); only the Nmap process's availability is affected, so C:N/I:N/A:H.

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 read_db2_packet function of the db2-das-info.nse script, which trusts an unmasked 32-bit length field supplied by the server. A malicious DB2 Administration Server on a scanned host can declare a packet length of up to roughly 4.29GB, causing the script to buffer that much data and the Nmap process to exhaust memory; the script runs during version detection (-sV).

Executive ViewAI

Why It Matters

CVE-2026-81406 is a memory exhaustion vulnerability in Nmap's db2-das-info script, fixed in version 7.992. It only affects security staff who run Nmap with version detection against untrusted hosts, causing the scanning process to crash. Leadership should ensure timely patching to maintain reliable vulnerability assessment capabilities.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 51% exploitable
Prevalence
High
Nmap is a near-universal network scanner across security and IT teams
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
Yes
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-81405 HIGH
7.1 Nov 25

Memory exhaustion in the Nmap Scripting Engine's rpc.lua library (Nmap before 7.992) lets a malicious ONC-RPC service on

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