Skip to content

CVE-2026-34593 Ash Framework: Ash.Type.Module.cast_input/2 atom exhaustion via unchecked Module.concat allows BEAM VM crash

HighCVSS 8.2 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
ash-hq ash framework < 3.22.0 3.22.0 Fixed
hex ash(Hex) <= 3.21.3 after 3.21.3 Fixed
ash-project ash = < 3.22.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ash-project ash = < 3.22.0 No fix listed
hex ash(Hex) <= 3.21.3 No fix listed
ash-hq ash framework < 3.22.0 3.22.0

References