Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted indentation-heavy document
-
ExploitTrigger quadratic DEDENT line recomputation
-
ExecutionBlock synchronous Node.js event loop
-
ImpactDeny 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (eclipse).
CVSS VectorVendor: eclipse
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.
Articles & Coverage 1
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
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.
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
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.
EUVD-2026-120086
GHSA-mw8j-wq3m-9899
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB