Skip to main content

Eclipse Langium EUVDEUVD-2026-120086

| CVE-2026-124683 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-11-09 eclipse GHSA-mw8j-wq3m-9899
8.7
CVSS 4.0 · Vendor: eclipse
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted indentation-heavy document
  2. Exploit
    Trigger quadratic DEDENT line recomputation
  3. Execution
    Block synchronous Node.js event loop
  4. Impact
    Deny service to all users on process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

Exploitation requires that the target application opt into Langium's IndentationAwareTokenBuilder and IndentationAwareLexer - languages built with the DefaultLexer and DefaultTokenBuilder are explicitly unaffected. It further requires that the Langium tokenizer process attacker-controlled document text in a shared, synchronous (single-threaded Node.js) process serving multiple users, so that blocking the event loop denies service to others. Limiting factors: the vulnerable feature is non-default and opt-in; per-user/local-only deployments (e.g., a single-user IDE process) suffer only self-inflicted slowdown; and the impact is availability only, with no code execution, data access, or integrity loss. No authentication or user interaction is needed against a vulnerable, network-exposed configuration (PR:N/UI:N).

Impact

This is a genuine but conditional availability risk, not a confidentiality/integrity threat. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with VA:H and VC:N/VI:N yields 8.7 and correctly reflects a network-reachable, unauthenticated, low-complexity denial-of-service with no data exposure - despite the input 'Information Disclosure' tag, which contradicts the vector and the description. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with the absence of a CISA KEV listing and no POC or EPSS score in the provided data: exploitation is plausible and cheap but not observed in the wild. The real-world risk is gated by a deployment precondition the base score does not capture: only applications that opt into the IndentationAwareTokenBuilder/IndentationAwareLexer and process attacker-supplied documents in a shared synchronous process are exposed; default-configured Langium languages are unaffected. Net assessment: a real priority for the subset of multi-tenant/network-exposed Langium services using indentation-aware languages, but lower practical priority for the majority of deployments that use the default lexer or run per-user local processes. No EPSS or KEV data was supplied, so exploitation probability cannot be independently quantified.

Exploit ScenarioDerived

An attacker submits a document of a few hundred kilobytes whose indentation changes on most lines to a Langium-based service (for example a web-hosted language playground or shared language server) that uses the opt-in IndentationAwareTokenBuilder. Synchronous DEDENT line-number recomputation re-scans the preceding text on each dedent, so tokenization runs in quadratic time and blocks the Node.js event loop for tens of seconds, denying service to every user on that process. No public exploit identified at time of analysis; the attack requires only crafting an input document, with AV:N and AC:L.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.5% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 09, 2026

Denial of service in Eclipse Langium 3.2.0 through 4.4.0 occurs when an application opts into the IndentationAwareTokenBuilder and IndentationAwareLexer and tokenizes attacker-controlled text: DEDENT handling rescans the preceding document for line numbers, making tokenization quadratic and able to block the Node.js event loop for tens of seconds with a document of a few hundred kilobytes. Languages built with DefaultLexer and DefaultTokenBuilder are unaffected, so exposure is limited to non-default indentation-aware configurations that process untrusted documents in a shared synchronous process. No public exploit identified at time of analysis and no CISA KEV entry is present in the supplied intelligence; the impact is availability only, with no confidentiality or integrity loss.

RemediationAI

Upgrade to the patched Langium release identified in the Eclipse advisory GHSA-297v-g8mm-qj4h; the supplied data does not specify an exact fixed version, so verify the advisory before deployment. If an immediate upgrade is not possible, remove exposure by switching from IndentationAwareTokenBuilder and IndentationAwareLexer to DefaultLexer and DefaultTokenBuilder, which the description states are unaffected - the trade-off is loss of indentation-aware tokenization. For services that must keep indentation-aware parsing, avoid processing untrusted documents in a shared synchronous Node.js event loop: enforce strict document-size limits, reject or throttle unusually indentation-dense input, and run tokenization in an isolated worker or process with a timeout so one document cannot block all users; these compensating controls reduce blast radius but do not fix the underlying quadratic algorithm and add operational complexity and latency. Monitor the advisory links for the exact patched release.

Affected VersionsENISA

Eclipse Langium 3.2.0 ≤4.4.0

Affected Packages

euvd eclipse_langium no fix

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

Eclipse Langium is a TypeScript/Node.js language-engineering framework whose lexer and token builder produce INDENT and DEDENT tokens for indentation-sensitive languages. CVE-2026-124683 is CWE-407 (inefficient algorithmic complexity) specifically in the opt-in IndentationAwareTokenBuilder and IndentationAwareLexer: when emitting DEDENT tokens, the implementation recomputes line numbers by re-scanning all preceding document text, so a document whose indentation changes on most lines drives quadratic tokenization time. Because tokenization is synchronous, a crafted few-hundred-kilobyte document can occupy the event loop for tens of seconds and deny service to other users of the same process. The CPE cpe:2.3:a:eclipse_foundation:eclipse_langium:*:*:*:*:*:*:*:* is broad, but the description scopes affected releases to 3.2.0 through 4.4.0 and explicitly excludes languages using DefaultLexer and DefaultTokenBuilder. The supplied CVSS 4.0 vector and the independent CVSS 3.1 assessment both score availability high only (C:N/I:N/A:H), consistent with resource exhaustion rather than code execution or data exposure.

Know when Eclipse Langium 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 (eclipse) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Unauthenticated network-reachable service accepts a crafted document (AV:N/AC:L/PR:N/UI:N); impact is availability-only event-loop exhaustion (A:H, C:N/I:N) with no scope change.

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

Primary rating from Vendor (eclipse).

CVSS VectorVendor: eclipse

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
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

Eclipse Langium versions 3.2.0 through 4.4.0 contain an inefficient algorithmic complexity issue (CWE-407) in the opt-in IndentationAwareTokenBuilder and IndentationAwareLexer. When producing DEDENT tokens, the token builder recomputes line numbers by re-scanning the entire preceding document text. A document whose indentation changes on most lines then takes quadratic time to tokenize. Because tokenization is synchronous, a crafted document of a few hundred kilobytes can block the Node.js event loop for tens of seconds. That causes a DoS for every user served by the same process. Languages built with the DefaultLexer and DefaultTokenBuilder are unaffected.

Technical POC Analysis

CWE-407, inefficient algorithmic complexity: IndentationAwareTokenBuilder produces quadratic-time tokenization because it recomputes the line number for every DEDENT token by rescanning the entire do…

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Eclipse Langium, a language engineering framework, contains a denial-of-service vulnerability (CVE-2026-124683) affecting versions 3.2.0 through 4.4.0 when non-default indentation-aware tokenization is used on untrusted text. This can block the Node.js event loop for extended periods, causing service outages for applications that process attacker-supplied documents in a shared synchronous process. Leadership should prioritize this because any product or internal tool built on these configurations and exposed to untrusted input can be taken offline by a single malicious document, disrupting availability and potentially violating service-level commitments.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: avoid IndentationAwareTokenBuilder and IndentationAwareLexer by using DefaultLexer and DefaultTokenBuilder; restrict processing of untrusted documents to isolated worker threads with execution timeouts; implement input size limits and rate limiting on document submission endpoints; monitor for anomalous CPU or event-loop latency spikes.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Low
niche developer language-engineering framework; vulnerable feature is opt-in, non-default
Data Quality
6 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.5%
Patch available No
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
High
Technical Impact
Partial

Priority Score

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

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