Security mailing lists by PureSourceCode

CVE-2026-118391

HIGH 8.9CVSS 4.0

Unbounded query cache growth from interpolated JSON paths and splice lists in Ecto

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.

Published
4 Nov 2026
Last modified
2 Dec 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Deferred
Weakness
CWE-770
Also known as
EEF-CVE-2026-118391GHSA-cxjx-vmm2-qr8r
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-118391JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 HIGH 8.9 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
CVE List EEF CVSS 4.0 HIGH 8.9 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
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm ecto
cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*
>= 3.4.0, < 3.14.3 3.14.3
CVE List https://github.com elixir-ecto/ecto
cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*
>= cb2f03964dac324a9771f84f5088e395326e6de8
OSV Hex ecto >= 3.4.0, < 3.14.3 3.14.3

References

History

  • 2 Dec 2026 04:20 UTC · OSV: updated (other details)
  • 2 Dec 2026 04:20 UTC · NVD: updated (other details)
  • 2 Dec 2026 03:27 UTC · CVE List: first stored (published 4 Nov 2026)
  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 4 Nov 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 4 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.