Skip to main content

Nmap EUVDEUVD-2026-135614

| CVE-2026-81419 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-11-25 VulnCheck GHSA-vm79-h9v8-8vmx
5.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Gain adjacent layer-2 position
  2. Exploit
    Spoof OSPF LS Update with zero-length LSA header
  3. Execution
    NSE ospf.lua LSUpdate.parse fails to advance
  4. Impact
    Infinite loop hangs Nmap at 100% CPU

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
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 all of: (1) the attacker on the same layer-2 broadcast segment as the target (AV:A - not routable or remote); (2) the Nmap operator actively running a scan that invokes broadcast-ospf2-discover.nse, which is what captures and parses the OSPF LS Update (UI:P) - Nmap is not a passive listening service, so with no operator running this specific NSE script there is no exposure; (3) a crafted OSPF LS Update packet whose LSA header carries a zero length, the exact trigger for the non-advancing loop in LSUpdate.parse. No authentication is required (PR:N) because OSPF packets can be spoofed on the segment. Limiting factors: the adjacency requirement, dependence on the operator running a non-default discovery script at the right moment, and availability-only impact confined to a single Nmap process (no host compromise, no code execution, no data exposure).

Impact

This is a medium-severity, availability-only denial-of-service issue (CVSS 4.0 base 5.9), and the real-world risk is narrow rather than broad. The supplied CVSS vector (AV:A/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H) tells the story: exploitation is limited to an adjacent attacker on the same layer-2 segment (AV:A), carries an attack requirement (AT:P), and depends on the Nmap operator actively running the vulnerable broadcast-ospf2-discover.nse script so it captures the malicious packet (UI:P). There is no confidentiality or integrity impact and no code execution - only a permanent 100% CPU hang of the Nmap process (VA:H). No EPSS score was provided, the CVE is not listed in CISA KEV, and no public exploit identified at time of analysis - the references contain only patch commits and a VulnCheck advisory, not working exploit code. The vuln.today decision label is 'this_month' (not act_now or emergency), consistent with a confirmed-but-low-urgency DoS. In short: a genuine, vendor-confirmed bug worth patching on a routine cycle - not an emergency and not a high-CVSS issue masquerading as critical; the adjacency, user-interaction, and availability-only constraints keep real-world risk modest and situational.

Exploit ScenarioDerived

An attacker on the same local layer-2 broadcast segment as a host running Nmap sends a single spoofed, unauthenticated OSPF LS Update packet containing an LSA header with a zero length. When broadcast-ospf2-discover.nse captures and parses it, LSUpdate.parse never advances past the zero-length header and the Nmap process spins at 100% CPU permanently. No public exploit code is identified in the provided sources, though the mechanism is documented in the VulnCheck advisory and confirmed by the vendor patch; the adjacent vector and required operator action (UI) bound the opportunity.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

Nmap versions before 7.992 can be driven into a permanent 100% CPU spin through its NSE OSPF library: a single crafted OSPF LS Update packet containing an LSA header with a zero length causes LSUpdate.parse in nselib/ospf.lua to loop without advancing. Only operators who are actively running the broadcast-ospf2-discover.nse script on the same layer-2 broadcast segment as the sender are exposed, since that script is what captures and parses the packet - Nmap is not a passive listener and carries no exposure outside that scan window. The result is availability-only: the affected Nmap process hangs indefinitely, with no code execution, host compromise, or data exposure, and no public exploit code was identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to Nmap 7.992 or later, which adds the length check to LSUpdate.parse in nselib/ospf.lua; the 7.992 changelog at https://nmap.org/changelog.html and https://github.com/nmap/nmap/blob/v7.992/CHANGELOG confirm the fix, and the exact code change is visible in commits 5fda523bc07cf813cdff725f769eeac92b2de2f2 and https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096. If immediate upgrading is not possible, the effective compensating control is to avoid running broadcast-ospf2-discover.nse on layer-2 segments where untrusted hosts can inject traffic - scope OSPF discovery scans to trusted management VLANs or schedule them only during controlled windows, accepting that this reduces discovery coverage. Backporting the single assert(lsa_h.length >= 20) guard into a locally maintained copy of nselib/ospf.lua is a low-risk stopgap, with the caveat that it is an unsupported local modification that must be reconciled on the next upgrade. Also monitor for hung nmap processes consuming a full core during OSPF discovery scans, since the symptom is a silent permanent spin rather than a crash (additional vendor context: https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-zero-length-lsa-header-in-ospf-lua).

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

Nmap's Scripting Engine (NSE) ships a set of Lua protocol libraries under nselib/, including ospf.lua, which implements OSPF packet parsing for discovery scripts such as broadcast-ospf2-discover.nse. The vulnerable routine, LSUpdate.parse, walks the list of Link State Advertisements carried in an OSPF Link State Update packet; each LSA begins with a 20-byte header whose length field tells the parser how far to advance. When a header declares a length of zero, the parser makes no forward progress and re-processes the same position forever - the classic CWE-835 (Loop with Unreachable Exit Condition) pattern. The upstream fix in commit 5fda523b adds a single guard, assert(lsa_h.length >= 20), so a malformed or truncated LSA header raises a Lua error in the script instead of hanging the interpreter. The packet is unauthenticated and can be spoofed by anyone on the same layer-2 broadcast segment, so no credentials are needed; the CPE cpe:2.3:a:nmap:nmap:* confirms the scope is all Nmap releases prior to the 7.992 changelog entry. Note that the trigger is specifically the zero-length LSA header described in the source evidence, and that the severity metrics (CVSS 4.0 AV:A/AC:L/AT:P/PR:N/UI:P, availability-only) reflect a segment-local, operator-dependent hang rather than a remotely routable condition.

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 5.9 MEDIUM
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 5.7 MEDIUM

Adjacent spoofed packet (AV:A) needing no auth (PR:N), but the operator must run the vulnerable NSE script to capture it (UI:R); impact is an availability-only process hang (A:H) with no C/I.

3.1 AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:A/AC:L/AT:P/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
Adjacent
Attack Complexity
Low
Attack Requirements
Present
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 infinite loop vulnerability in the LSUpdate.parse function of the NSE ospf.lua library, which does not advance when it reads an LSA header with a zero length. An attacker on the same layer 2 segment can send a single spoofed, unauthenticated OSPF LS Update packet, causing a permanent 100% CPU hang of the Nmap process as soon as broadcast-ospf2-discover.nse captures it.

Threat Intelligence Overview

EPSS Score
0.7%
Top 53% exploitable
Prevalence
High
Nmap is among the most widely deployed network/security scanning tools
Social Media
1
Sightings
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Controlled
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

31
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +30
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-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 (

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