CVE-2026-81319Unsafe deserialization of decrypted terms enables node DoS in AshCloak
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ash-project ash_cloak: affected: 0.1.0 to before 0.4.0; fixed in
0.4.0 - ash-project ash_cloak: affected: f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc to before 1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608; fixed in
1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608
Vendor advisories:
- https://github.com/ash-project/ash_cloak/security/advisories/GHSA-rc26-mrm2-6pf9 (vendor-advisory)
- https://github.com/ash-project/ash_cloak/commit/1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608 (patch)
References
- https://github.com/ash-project/ash_cloak/security/advisories/GHSA-rc26-mrm2-6pf9
- https://cna.erlef.org/cves/CVE-2026-81319.html
- https://osv.dev/vulnerability/EEF-CVE-2026-81319
- https://github.com/ash-project/ash_cloak/commit/f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc
- https://github.com/ash-project/ash_cloak/commit/1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.