PT-2026-140438
CVE-2026-124683
·
Published
2026-11-09
·
Updated
2026-11-09
Description by
CVSS 4.0
8.7
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Eclipse Langium versions 3.2.0 through 4.4.0
Description
An inefficient algorithmic complexity issue exists in the opt-in
IndentationAwareTokenBuilder and IndentationAwareLexer. When producing DEDENT tokens, the token builder re-scans the entire preceding document text to recompute line numbers. For documents where indentation changes on most lines, tokenization takes quadratic time. Since tokenization is synchronous, a crafted document of a few hundred kilobytes can block the Node.js event loop for tens of seconds, resulting in a Denial of Service (DoS) for all users served by the same process.Recommendations
Update Eclipse Langium versions 3.2.0 through 4.4.0 to a version where this issue is resolved.
As a temporary mitigation, avoid using the
IndentationAwareTokenBuilder and IndentationAwareLexer components. Found an issue in the description? Have something to add? Feel free to write us 👾