1. Home
  2. Vulnerabilities
  3. CVE-2026-124683

CVE-2026-124683

Eclipse Langium versions 3.2.0 through 4.4.0 contain an inefficient algorithmic complexity issue (CWE-407) in…

Published 9 Nov 2026 · modified 12 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 50/100

Summary

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.

Affected products and versions

Eclipse Foundation (1 line(s))
Eclipse Foundation
ProductVersionsFixed inSource
Langium from 3.2.0 (included) to 4.4.0 (included) — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
NVD
CVSS vector
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 (CVSS 4.0, CNA:eclipse)
Weakness
CWE-407 · Autre (CWE-407)

How this data is obtained and calculated