{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-82742","id":"CVE-2026-82742","title":"Ash.Filter.Runtime materializes a combinatorial cross-product over to-many relationships, exhausting memory","description":"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 pro","descriptionLong":"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.","published":"2026-09-01T03:35:18.551Z","updated":"2026-11-19T10:00:29.496754870Z","reserved":"2026-08-31T01:00:09.774Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":5.9,"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","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":5.9,"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","rating":"medium","source":"EEF"},{"version":"4.0","score":5.9,"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/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","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"}],"rating":"medium","products":["ash-project ash"],"affectedProducts":[{"vendor":"ash-project","product":"ash","defaultStatus":"unaffected","versions":[{"lessThan":"3.32.2","status":"affected","version":"1.29.0-rc0","versionType":"semver"}],"platforms":[]},{"vendor":"ash-project","product":"ash","defaultStatus":"unaffected","versions":[{"lessThan":"da07f009e889819ec410fa1f0f12534bfb9e21dd","status":"affected","version":"f6f5d194bfc7802bd32e48bf2eabd2d97a0109a4","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-400"],"aliases":["EEF-CVE-2026-82742","GHSA-mgwj-c69v-6f83"],"references":[{"url":"https://github.com/ash-project/ash/security/advisories/GHSA-mgwj-c69v-6f83","tags":["vendor-advisory","related","advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82742.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82742","tags":["related","web"]},{"url":"https://github.com/ash-project/ash/commit/f6f5d194bfc7802bd32e48bf2eabd2d97a0109a4","tags":["related","fix"]},{"url":"https://github.com/ash-project/ash/commit/da07f009e889819ec410fa1f0f12534bfb9e21dd","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/82xxx/CVE-2026-82742.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82742","tags":["advisory"]},{"url":"https://github.com/ash-project/ash","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0018,"epssPercentile":0.07683,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-82742","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82742","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-82742","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-82742","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}