Security mailing lists by PureSourceCode

CVE-2026-81319

MEDIUM 5.9CVSS 4.0

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

Published
30 Aug 2026
Last modified
25 Nov 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Deferred
Weakness
CWE-502
Also known as
EEF-CVE-2026-81319GHSA-rc26-mrm2-6pf9
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-81319JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 MEDIUM 5.9 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List EEF CVSS 4.0 MEDIUM 5.9 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
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://repo.hex.pm ash_cloak
cpe:2.3:a:ash-project:ash_cloak:*:*:*:*:*:*:*:*
>= 0.1.0, < 0.4.0 0.4.0
CVE List https://github.com ash-project/ash_cloak
cpe:2.3:a:ash-project:ash_cloak:*:*:*:*:*:*:*:*
>= f1595a77fdfa9bfc672f84c2f77feb9e7bf895fc, < 1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608 1690f0a436efe3e7c11d70d74ff5a8ac0fdf6608
OSV Hex ash_cloak >= 0.1.0, < 0.4.0 0.4.0

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 30 Aug 2026)
  • 25 Nov 2026 20:11 UTC · CVE List: first stored (published 30 Aug 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 30 Aug 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.