CVE-2026-81319
Medium 5.9No known exploitationFix availableUnsafe deserialization of decrypted terms enables node DoS in AshCloak
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 34% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
Deserialization of Untrusted Data vulnerability in ash-project ash_cloak allows an attacker who can influence the bytes of an encrypted column to crash the BEAM node, by triggering unbounded atom creation or a decompression bomb during decryption. AshCloak.Calculations.Decrypt decodes the decrypted binary with Ash.Helpers.non_executable_binary_to_term/1 without the :safe option, so atoms in the payload are interned during the decode and never garbage collected, and the term format's compressed form is inflated transparently. vault.decrypt!() is the only barrier and stops tampering only for an authenticated cipher. Cloak also ships the unauthenticated AES.CTR, whose ciphertext an attacker who knows their own plaintext can XOR into any same-length payload without the key, so an ordinary read of the forged column reaches the decoder. A few hundred kilobytes of distinct atoms exhausts the atom table, or a small compressed payload inflates to gigabytes. This issue affects ash_cloak: from 0.1.0 before 0.4.0.
Weakness: CWE-502
Patching and mitigation
- Patch status
- Fix available (source: CVE record (EEF))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| ash-project | ash_cloak | from 0.1.0 before 0.4.0 | 0.4.0 | CVE Program |
| ash-project | ash_cloak | from f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc before 1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608 | 1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608 | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (EEF)
Vendor guidance and references
- Fix commit 1690f0a in ash-project/ash_cloak (opens in a new tab)patch
- https://github.com/ash-project/ash_cloak/security/advisories/GHSA-rc26-mrm2-6pf9 (opens in a new tab)related, vendor-advisory
- EEF CNA record for CVE-2026-81319 (opens in a new tab)related
- Introducing commit f1595a7 in ash-project/ash_cloak (opens in a new tab)related
- OSV record EEF-CVE-2026-81319 (opens in a new tab)related