{"id":"CVE-2026-82742","aliases":["CVE-2026-82742","EEF-CVE-2026-82742","GHSA-mgwj-c69v-6f83"],"related":[],"kind":"vulnerability","state":"published","title":"Ash.Filter.Runtime materializes a combinatorial cross-product over to-many relationships, exhausting memory","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nUncontrolled 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\n`Ash.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.","format":"markdown","source":"eef"}],"published":"2026-09-01T03:35:18.551Z","modified":"2026-11-25T06:30:16.004Z","severity":{"scorer":"EEF","scheme":"CVSS: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","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS: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","score":5.9,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS: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"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"1.29.0-rc0","fixed":"3.32.2","status":"affected"}],"vendor":"ash-project","product":"ash","package":"ash","cpe":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash","source":"cvelist"},{"ranges":[{"type":"git","introduced":"f6f5d194bfc7802bd32e48bf2eabd2d97a0109a4","fixed":"da07f009e889819ec410fa1f0f12534bfb9e21dd","status":"affected"}],"vendor":"ash-project","product":"ash","package":"ash-project/ash","cpe":"cpe:2.3:a:ash-project:ash:*:*:*:*:*:*:*:*","repo":"https://github.com/ash-project/ash","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.29.0-rc0","status":"affected","fixed":"3.32.2"}],"ecosystem":"Hex","package":"ash","purl":"pkg:hex/ash","source":"eef"},{"ranges":[{"type":"git","introduced":"f6f5d194bfc7802bd32e48bf2eabd2d97a0109a4","status":"affected","fixed":"da07f009e889819ec410fa1f0f12534bfb9e21dd"}],"repo":"https://github.com/ash-project/ash","source":"eef"}],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-mgwj-c69v-6f83","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82742.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82742","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ash-project/ash/commit/f6f5d194bfc7802bd32e48bf2eabd2d97a0109a4","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/ash-project/ash/commit/da07f009e889819ec410fa1f0f12534bfb9e21dd","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/ash","tags":["package"],"sources":["eef"]}],"credits":["Peter Ullrich","Jonatan Männchen / EEF","Zach Daniel / Ash Project"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-01T12:41:35.557Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82742","url":"https://www.cve.org/CVERecord?id=CVE-2026-82742","licence":"CVE Terms of Use","modified":"2026-11-19T08:36:38.689Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82742","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82742","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:16.004Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82742","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82742","licence":"Public domain","modified":"2026-11-19T09:18:09.723Z"}],"updatedAt":"2026-11-25T22:59:35.906Z","epss":{"score":0.00127,"percentile":0.02538,"date":"2026-12-01T12:00:22.000Z"}}