CVE-2026-34593
Ash.Type.Module.cast_input/2 atom exhaustion via unchecked Module.concat allows BEAM VM crash
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| erlang | ash | <= 3.21.3 | 3.22.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ash-Hq | Ash Framework | before 3.22.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-jjf9-w5vj-r6vp
- https://github.com/ash-project/ash/security/advisories/GHSA-jjf9-w5vj-r6vp
- https://github.com/ash-project/ash/commit/7031103da38cd1366cec8c96d6bcdc9b989aa3c2
- https://github.com/ash-project/ash/releases/tag/v3.22.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-34593