CVE-2026-81319
published medium CVSS 4.0 · 5.9Unsafe deserialization of decrypted terms enables node DoS in AshCloak
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| ash-project | — | ash_cloak0.1.0 to < 0.4.0 · Other versions: unaffected | Affected | Not stated | EEF |
| ash-project | — | ash-project/ash_cloakash_cloak · f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc to < 1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| ash-project | ash_cloak | 0.1.0 to < 0.4.0 (affected · semver)Default: unaffected | EEF · cna |
| ash-project | ash_cloak | f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc to < 1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-502 CWE-502 Deserialization of Untrusted Data
References
5- EEF CNA record for CVE-2026-81319 https://cna.erlef.org/cves/CVE-2026-81319.html
- Fix commit 1690f0a in ash-project/ash_cloak https://github.com/ash-project/ash_cloak/commit/1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608
- Introducing commit f1595a7 in ash-project/ash_cloak https://github.com/ash-project/ash_cloak/commit/f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc
- https://github.com/ash-project/ash_cloak/security/advisories/GHSA-rc26-mrm2-6pf9
- OSV record EEF-CVE-2026-81319 https://osv.dev/vulnerability/EEF-CVE-2026-81319
Provider assertions
2EEF · cna
Unsafe deserialization of decrypted terms enables node DoS in AshCloak
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e9e7f643f83c356683bf01ec93a152772cc2df92402018e6a317c23e90652782
- Ingested
- 19 Nov 2026, 08:43:53 UTC
- Source record
- Official CVE record