# CVE-2026-81319: Unsafe deserialization of decrypted terms enables node DoS in AshCloak

- Severity: Medium 5.9 (CVSS:4.0, scored by EEF) `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-30T18:05:13.889Z
- Modified: 2026-11-25T06:31:03.222Z
- Also known as: EEF-CVE-2026-81319, GHSA-rc26-mrm2-6pf9
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- ash_cloak: from 0.1.0 before 0.4.0
- ash-project/ash_cloak: from f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc before 1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608
- ash_cloak (Hex): from 0.1.0 before 0.4.0
- https://github.com/ash-project/ash_cloak: from f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc before 1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608

## Every score

- EEF: CVSS:4.0 5.9 Medium `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Erlang Ecosystem Foundation: CVSS:4.0 `CVSS:4.0/AV:L/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_cloak/security/advisories/GHSA-rc26-mrm2-6pf9> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-81319.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-81319> (related)
- <https://github.com/ash-project/ash_cloak/commit/f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc> (related, web)
- <https://github.com/ash-project/ash_cloak/commit/1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608> (fix, patch)
- <https://hex.pm/packages/ash_cloak> (package)

## Sources

- CVE List: [CVE-2026-81319](https://www.cve.org/CVERecord?id=CVE-2026-81319), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-81319](https://osv.dev/vulnerability/EEF-CVE-2026-81319), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-81319](https://nvd.nist.gov/vuln/detail/CVE-2026-81319), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-81319 · Whole record: https://cve.day/CVE-2026-81319.json · Rebuilt by cve.day 2026-11-25T22:59:35.774Z
