Vulnerability · Published Apr 2, 2026 · Assigned by GitHub_M
CVE-2026-34593Ash Framework: Ash.Type.Module.cast_input/2 atom exhaustion via unchecked Module.concat allows BEAM VM crash
High 8.2
In plain English
A high-severity uncontrolled resource consumption in ash from ash-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
Official description
Ash Framework is a declarative, extensible framework for building Elixir applications. Prior to version 3.22.0, Ash.Type.Module.cast_input/2 unconditionally creates a new Erlang atom via Module.concat([value]) for any user-supplied binary string that starts with "Elixir.", before verifying whether the referenced module exists. Because Erlang atoms are never garbage-collected and the BEAM atom table has a hard default limit of approximately 1,048,576 entries, an attacker who can submit values to any resource attribute or argument of type :module can exhaust this table and crash the entire BEAM VM, taking down the application. This issue has been patched in version 3.22.0.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ash-project | ash | < 3.22.0 |
Weakness: CWE-400 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/ash-project/ash/security/advisories/GHSA-jjf9-w5vj-r6vp x_refsource_CONFIRM
- https://github.com/ash-project/ash/releases/tag/v3.22.0 x_refsource_MISC