{"id":"CVE-2026-82742","published":"2026-09-01T03:35:18Z","modified":"2026-11-19T08:36:38Z","title":"Ash.Filter.Runtime materializes a combinatorial cross-product over to-many relationships, exhausting memory","vendor":"ash-project","product":"ash","tier":"tail","description":{"text":"Uncontrolled Resource Consumption vulnerability in ash-project ash lets an attacker exhaust node memory by matching a filter that spans multiple to-many relationships in memory.\n\nAsh.Filter.Runtime matches a filter against an in-memory record by first expanding the record into combinations of its related rows. flatten_relationships/2 (lib/ash/filter/runtime.ex) eagerly built the full Cartesian product across the filter's to-many relationship paths, so a record with K to-many relationships of M rows each materialized on the order of M^K scenarios before any predicate was checked. A filter or dataset that reaches several sizeable to-many relationships therefore allocates memory combinatorially and can exhaust the node. The fix streams the expansion lazily and short-circuits on the first matching scenario, bounding the work.\n\nThis issue affects ash: from 1.29.0-rc0 before 3.32.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0018,"percentile":0.04457,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-mgwj-c69v-6f83","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82742.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82742","tags":["related"]},{"url":"https://github.com/ash-project/ash/commit/f6f5d194bfc7802bd32e48bf2eabd2d97a0109a4","tags":["related"]},{"url":"https://github.com/ash-project/ash/commit/da07f009e889819ec410fa1f0f12534bfb9e21dd","tags":["patch"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":0.89},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"ash-project","affectedVersions":[{"vendor":"ash-project","product":"ash","versions":[">= 1.29.0-rc0, < 3.32.2"]},{"vendor":"ash-project","product":"ash","versions":[">= f6f5d194bfc7802bd32e48bf2eabd2d97a0109a4, < da07f009e889819ec410fa1f0f12534bfb9e21dd"]}],"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-01T12:41:35.557359Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-68947","exploited":false,"provenance":"source"}}