Inefficient Algorithmic Complexity in Eclipse Langium by Eclipse
CVE-2026-124683

8.7HIGH

Key Information:

Vendor
CVE Published:
9 November 2026

What is CVE-2026-124683?

Eclipse Langium versions ranging from 3.2.0 to 4.4.0 are impacted by an inefficiency in the IndentationAwareTokenBuilder and IndentationAwareLexer components. Specifically, when generating DEDENT tokens, the lexer recalculates line numbers by re-evaluating the entire preceding document, leading to quadratic time complexity for tokenization. This flaw means that if a document has frequent indentation changes, it can severely delay processing, potentially freezing the Node.js event loop for extended periods. As a result, this can lead to a Denial of Service for any users sharing the affected process, particularly with documents of a few hundred kilobytes in size. Notably, the languages supported by the DefaultLexer and DefaultTokenBuilder are not impacted by this vulnerability.

Affected Version(s)

Eclipse Langium 3.2.0 <= 4.4.0

References

CVSS V4

Score:
8.7
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

https://github.com/blackrose-0xday
.