Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › JavaScript

CVE-2026-124683 — Eclipse Foundation Eclipse Langium

High · CVSS 8.7EPSS 0.5% First seen November 09, 2026

One of 2 Eclipse Foundation Eclipse Langium vulnerabilities published together by NVD: our article covers all of them.

JavaScriptWebVulnerabilities

Analysis

Eclipse Langium CVE-2026-124683: quadratic tokenization in indentation-aware lexer enables DoS

CVE-2026-124683 (CVSS 8.7, HIGH) affects Eclipse Langium versions 3.2.0 through 4.4.0 when the opt-in indentation-aware tokenizer is used. A crafted document can block the Node.js event loop for tens of seconds, denying service to every user served by that process.

Key points

  • Eclipse Langium 3.2.0 through 4.4.0 are affected when the opt-in indentation-aware components are used
  • Quadratic-time DEDENT handling lets a crafted document of a few hundred KB block the Node.js event loop for tens of seconds
  • Impact is denial of service for all users served by the same process
  • Projects using DefaultLexer and DefaultTokenBuilder are reported as unaffected
  • No fixed version, vendor advisory, or exploitation status is given in the sources

What's affected

The NVD entry lists Eclipse Langium versions 3.2.0 through 4.4.0 as affected. The flaw sits in two opt-in components, IndentationAwareTokenBuilder and IndentationAwareLexer. According to the source, projects built with DefaultLexer and DefaultTokenBuilder are not affected. The sources do not identify a fixed version or a vendor advisory, so that information has not been published in what we have.

How serious is it

The weakness is classified as CWE-407, inefficient algorithmic complexity, and is rated HIGH with a CVSS score of 8.7. When the token builder emits DEDENT tokens, it recomputes line numbers by scanning all preceding document text. A document whose indentation changes on most lines therefore takes quadratic time to tokenize. Tokenization is synchronous, so the NVD entry says a document of a few hundred kilobytes can block the Node.js event loop for tens of seconds. Because the blocked process serves other users, the impact is a denial of service for all of them, not only the submitter.

The sources do not say whether this issue is being actively exploited, and they do not describe any attack conditions beyond the ability to supply a document to the tokenizer.

What to do

Start by determining whether any project uses IndentationAwareTokenBuilder or IndentationAwareLexer. Projects that use only the default lexer and token builder are outside the stated scope. For affected projects, watch Eclipse Foundation channels for a fixed release and upgrade once one is available. In the meantime, reduce exposure by limiting the size of documents accepted for tokenization, and by isolating tokenization in a separate worker or process so that a slow parse does not stall unrelated users. Monitor request latency on services that parse user-supplied documents, since a sustained stall is the observable symptom.

Recommended actions

  1. Check whether any project imports IndentationAwareTokenBuilder or IndentationAwareLexer; if not, this CVE does not apply
  2. For affected projects, track Eclipse Foundation advisories and upgrade to a fixed Langium release once published
  3. Cap the size of user-supplied documents before they reach the tokenizer
  4. Move tokenization of untrusted input into a separate worker or process to limit blast radius
  5. Alert on event loop lag and request latency spikes in services that parse user documents

Written with AI assistance from the sources listed on this page; check the vendor advisory before acting.

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 8.7 CVSS 4.0 base score from the CNA (eclipse.org)

An attacker without an account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
no
User action needed
no
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Affected and fixed versions

ProductAffected versionsFixed in
Eclipse Foundation Eclipse Langium≥ 3.2.0, ≤ 4.4.0—

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Other references

Details from NVD (public domain).

Affected

  • Eclipse Foundation Eclipse Langium

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-124683?

CVE-2026-124683 (CVSS 8.7, HIGH) affects Eclipse Langium versions 3.2.0 through 4.4.0 when the opt-in indentation-aware tokenizer is used. A crafted document can block the Node.js event loop for tens of seconds, denying service to every user served by that process. Weakness type: Inefficient Algorithmic Complexity (CWE-407).

How severe is CVE-2026-124683?

CVE-2026-124683 has a CVSS 4.0 base score of 8.7 (high), from the CNA (eclipse.org). An attacker without an account can exploit this over the network, without any user action.

Is CVE-2026-124683 being exploited?

Not as far as is known: CVE-2026-124683 is not in CISA's Known Exploited Vulnerabilities catalog as of November 26, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-124683?

Eclipse Foundation Eclipse Langium ≥ 3.2.0, ≤ 4.4.0.

How do I fix CVE-2026-124683?

Check whether any project imports IndentationAwareTokenBuilder or IndentationAwareLexer; if not, this CVE does not apply. For affected projects, track Eclipse Foundation advisories and upgrade to a fixed Langium release once published. Cap the size of user-supplied documents before they reach the tokenizer.

Timeline & sources

References

Related vulnerabilities & news