EEF-CVE-2026-81319

Source
https://cna.erlef.org/osv/EEF-CVE-2026-81319.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-81319.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-81319
Aliases
  • CVE-2026-81319
  • GHSA-rc26-mrm2-6pf9
Published
2026-08-30T18:05:13.889Z
Modified
2026-08-30T18:25:38.192184597Z
Severity
  • 5.9 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Unsafe deserialization of decrypted terms enables node DoS in AshCloak
Details

Summary

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.

Configuration

An application must use ash_cloak with an unauthenticated vault cipher (for example the AES.CTR cipher shipped by Cloak), or run in a deployment where the stored ciphertext can be modified, and read a cloaked field so the decrypt calculation runs.

Database specific
{
    "cpe_ids": [
        "cpe:2.3:a:ash-project:ash_cloak:*:*:*:*:*:*:*:*"
    ],
    "capec_ids": [
        "CAPEC-586"
    ],
    "cwe_ids": [
        "CWE-502"
    ]
}
References
Credits
    • Peter Ullrich - FINDER
    • Peter Ullrich - REPORTER
    • Zach Daniel / Ash Project - REMEDIATION_DEVELOPER
    • Jonatan Männchen / EEF - COORDINATOR

Affected packages

Hex / ash_cloak

Package

Name
ash_cloak
Purl
pkg:hex/ash_cloak

Affected ranges

Type
SEMVER
Events
Introduced
0.1.0
Fixed
0.4.0

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.2.0
0.2.1
0.3.0
0.3.1

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-81319.json"

Git / github.com/ash-project/ash_cloak

Affected ranges

Type
GIT
Repo
https://github.com/ash-project/ash_cloak
Events

Affected versions

v0.*
v0.1.0
v0.1.1
v0.1.2
v0.1.3
v0.1.4
v0.1.5
v0.1.6
v0.1.7
v0.2.0
v0.2.1
v0.3.0
v0.3.1

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-81319.json"