Skip to content
RedCVE

CVE-2026-118391Elixir Ecto Ecto allocation of resources without limits

elixir-ectoPublished:

CVSS score

8.9

High

CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

Exploit probability (EPSS)

0.49%

0.49% chance of exploitation in the next 30 days, higher than 43.3% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

Allocation of Resources Without Limits or Throttling vulnerability in elixir-ecto ecto allows an unauthenticated remote attacker to exhaust memory in the application and in the database server by sending requests with distinct JSON keys or list lengths where the application interpolates them into json_extract_path/2, field[^key] or splice/1. Ecto caches prepared queries per repository in an ETS table with no size limit and no eviction. Interpolated JSON path elements become part of the query expression instead of its parameters, and splice/1 expands into one placeholder per element, so every distinct key or list length creates a new cache entry. With ecto_sql each entry is also a new prepared statement on the database connection that runs it. None of this memory is released until the processes restart. This issue affects ecto: from 3.4.0 before 3.14.3.

Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db

How to fix it, step by step

  1. Check whether you're affected

    Find every system running elixir-ecto Ecto and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Ecto to 3.14.3 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/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

Affected products

Affected productsVersions
elixir-ecto Ecto≥ 3.4.0, < 3.14.3 · ≥ cb2f03964dac324a9771f84f5088e395326e6de8, < eef014ad090d27d1a5b69c0e32a50eabd44ab3bb

Weakness

  • CWE-770 allocation of resources without limits

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-118391 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-118391?

CVE-2026-118391 has a CVSS 4.0 base score of 8.9 (high).

Which versions are affected?

Elixir Ecto Ecto (≥ 3.4.0, < 3.14.3; ≥ cb2f03964dac324a9771f84f5088e395326e6de8, < eef014ad090d27d1a5b69c0e32a50eabd44ab3bb)

Is there a patch for CVE-2026-118391?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.