CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir packages

CVE-2026-118391

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.9 · high

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.494% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T18:36:01.564Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 8.9 · published by EEF
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
Assessment source · checked 2026-11-19T12:58:00.191Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T18:36:01.564ZCISA KEV
cvssverified2026-11-19T12:58:00.191ZCVE Program
epssverified2026-11-19T18:27:15.258ZFIRST EPSS
patchesverified2026-11-19T12:52:53.179ZOSV
affectedverified2026-11-19T12:58:00.191ZCVE Program
lifecycleverified2026-11-19T12:58:00.191ZCVE Program

Affected versions and configuration

elixir-ecto ecto; default status: unaffected: 3.4.0 to < 3.14.3 [affected; scheme: semver] elixir-ecto ecto; default status: unaffected: cb2f03964dac324a9771f84f5088e395326e6de8 to < eef014ad090d27d1a5b69c0e32a50eabd44ab3bb [affected; scheme: git]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/elixir-ecto/ecto",
      "vendor": "elixir-ecto",
      "product": "ecto",
      "versions": [
        {
          "status": "affected",
          "version": "3.4.0",
          "lessThan": "3.14.3",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:hex/ecto",
      "packageName": "ecto",
      "collectionURL": "https://repo.hex.pm",
      "defaultStatus": "unaffected"
    },
    {
      "cpes": [
        "cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/elixir-ecto/ecto",
      "vendor": "elixir-ecto",
      "product": "ecto",
      "versions": [
        {
          "status": "affected",
          "version": "cb2f03964dac324a9771f84f5088e395326e6de8",
          "lessThan": "eef014ad090d27d1a5b69c0e32a50eabd44ab3bb",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/elixir-ecto/ecto",
      "packageName": "elixir-ecto/ecto",
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-118391",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-11-04T20:48:32.374051Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-11-05T19:07:34.294Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "EEF-CVE-2026-118391",
  "aliases": [
    "CVE-2026-118391",
    "GHSA-cxjx-vmm2-qr8r"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "3.4.0"
            },
            {
              "fixed": "3.14.3"
            }
          ]
        }
      ],
      "package": {
        "name": "ecto",
        "purl": "pkg:hex/ecto",
        "ecosystem": "Hex"
      },
      "versions": [
        "3.10.0",
        "3.10.1",
        "3.10.2",
        "3.10.3",
        "3.11.0",
        "3.11.1",
        "3.11.2",
        "3.12.0",
        "3.12.1",
        "3.12.2",
        "3.12.3",
        "3.12.4",
        "3.12.5",
        "3.12.6",
        "3.13.0",
        "3.13.1",
        "3.13.2",
        "3.13.3",
        "3.13.4",
        "3.13.5",
        "3.13.6",
        "3.14.0",
        "3.14.1",
        "3.14.2",
        "3.4.0",
        "3.4.1",
        "3.4.2",
        "3.4.3",
        "3.4.4",
        "3.4.5",
        "3.4.6",
        "3.5.0",
        "3.5.0-rc.0",
        "3.5.0-rc.1",
        "3.5.1",
        "3.5.2",
        "3.5.3",
        "3.5.4",
        "3.5.5",
        "3.5.6",
        "3.5.7",
        "3.5.8",
        "3.6.0",
        "3.6.1",
        "3.6.2",
        "3.7.0",
        "3.7.1",
        "3.7.2",
        "3.8.0",
        "3.8.1",
        "3.8.2",
        "3.8.3",
        "3.8.4",
        "3.9.0",
        "3.9.1",
        "3.9.2",
        "3.9.3",
        "3.9.4",
        "3.9.5",
        "3.9.6"
      ],
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-118391.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "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"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/elixir-ecto/ecto/security/advisories/GHSA-cxjx-vmm2-qr8r",
      "type": "ADVISORY"
    },
    {
      "url": "https://cna.erlef.org/cves/CVE-2026-118391.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/elixir-ecto/ecto/commit/d0e97d8a6e274c81c25fbf08087da8d8b9bae0ea",
      "type": "FIX"
    },
    {
      "url": "https://ecto.hexdocs.pm/Ecto.Query.API.html#json_extract_path/2",
      "type": "WEB"
    },
    {
      "url": "https://ecto.hexdocs.pm/Ecto.Query.API.html#splice/1",
      "type": "WEB"
    },
    {
      "url": "https://github.com/elixir-ecto/ecto/commit/eb03f45b999e2bf67ffae92811233eb6e56dba55",
      "type": "WEB"
    },
    {
      "url": "https://github.com/elixir-ecto/ecto/issues/4470",
      "type": "WEB"
    },
    {
      "url": "https://github.com/elixir-ecto/ecto/issues/1031",
      "type": "WEB"
    },
    {
      "url": "https://github.com/elixir-ecto/ecto/commit/cb2f03964dac324a9771f84f5088e395326e6de8",
      "type": "WEB"
    },
    {
      "url": "https://github.com/elixir-ecto/ecto/commit/eef014ad090d27d1a5b69c0e32a50eabd44ab3bb",
      "type": "FIX"
    },
    {
      "url": "https://hex.pm/packages/ecto",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [
    {
      "ranges": [
        {
          "repo": "https://github.com/elixir-ecto/ecto",
          "type": "GIT",
          "events": [
            {
              "introduced": "cb2f03964dac324a9771f84f5088e395326e6de8"
            },
            {
              "fixed": "eef014ad090d27d1a5b69c0e32a50eabd44ab3bb"
            }
          ]
        }
      ],
      "versions": [
        "v3.14.2",
        "v3.14.1",
        "v3.13.3",
        "v3.13.2",
        "v3.13.1",
        "v3.13.0",
        "v3.12.5",
        "v3.12.4",
        "v3.12.3",
        "v3.12.2",
        "v3.12.1",
        "v3.12.0",
        "v3.11.1",
        "v3.11.0",
        "v3.10.2",
        "v3.10.1",
        "v3.10.0",
        "v3.9.1",
        "v3.9.0",
        "v3.8.4",
        "v3.8.2",
        "v3.8.1",
        "v3.8.0",
        "v3.7.1",
        "v3.7.0",
        "v3.6.2",
        "v3.6.1",
        "v3.6.0",
        "v3.5.5",
        "v3.5.4",
        "v3.5.3",
        "v3.5.2",
        "v3.5.1",
        "v3.5.0",
        "v3.5.0-rc.1",
        "v3.5.0-rc.0",
        "v3.4.5",
        "v3.4.4",
        "v3.4.3",
        "v3.4.2",
        "v3.4.1",
        "v3.4.0"
      ],
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-118391.json"
      }
    }
  ],
  "database_specific": {
    "cpe_ids": [
      "cpe:2.3:a:elixir-ecto:ecto:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids": [
      "CWE-770"
    ],
    "capec_ids": [
      "CAPEC-131"
    ]
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryHex / packageectoNot a distribution channel3.14.3Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history