{"answers":{"affected":"1 open source package ship an affected version, including ash.","exploited":"There is no known exploitation of CVE-2026-82742 in the wild and no public exploit code.","fix":"Upgrade ash to 3.32.2 or later.","what":"CVE-2026-82742 is a medium-severity denial of service vulnerability in ash-project ash, published on 1 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-82742 and fix it if it is affected.\n\nWhat it is: CVE-2026-82742 is a medium-severity denial of service vulnerability in ash-project ash, published on 1 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-82742 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- ash (Hex): affected from 1.29.0-rc0; fixed in 3.32.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-82742/ (Markdown: https://insights.sbomify.com/CVE-2026-82742/index.md)","id":"CVE-2026-82742","markdown":"https://insights.sbomify.com/CVE-2026-82742/index.md","name":"CVE-2026-82742","record":{"aliases":["EEF-CVE-2026-82742","GHSA-mgwj-c69v-6f83"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Elixir Ash library","requires_auth":"none","summary":"Attackers can exhaust memory by triggering combinatorial expansion of to-many relationships in Ash.Filter.Runtime, causing denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EEF","cpe":[],"cvss":{"score":5.9,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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 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.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Ash.Filter.Runtime materializes a combinatorial cross-product over to-many relationships, exhausting memory","id":"CVE-2026-82742","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":1,"n_references":4,"next":{"headline":"Ash.Actions.Read.AsyncLimiter busy-spins a scheduler while awaiting slow async reads","id":"CVE-2026-82743"},"packages":[{"ecosystem":"Hex","fixed":["3.32.2"],"introduced":["1.29.0-rc0"],"last_affected":[],"package":"ash","purl":"pkg:hex/ash","source":"EEF-CVE-2026-82742"}],"prev":{"headline":"Ash.Type.Union with :map_with_tag does not force the tag on dump, enabling tag confusion","id":"CVE-2026-82741"},"products":["ash"],"published":"2026-09-01","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-01","vendors":["ash-project"]},"summary":"Attackers can exhaust memory by triggering combinatorial expansion of to-many relationships in Ash.Filter.Runtime, causing denial of service.","url":"https://insights.sbomify.com/CVE-2026-82742/"}