Technical impact
Improper handling of highly compressed data in the jose_jwe_zip:uncompress/2 function allows a remote attacker to send a very small JWE token that, when decompressed, expands to hundreds of megabytes or more, exhausting the BEAM process's memory and causing a crash. The attacker only needs the recipient's public key and requires no authentication or secret material, making the attack straightforward. The resulting memory exhaustion leads to a denial of service for all users of the affected node.
Affected Systems
The vulnerability affects potatosalad jose (erlang‑jose) from version 1.0.0 up to and including 1.11.12. Any deployment using these versions is susceptible. Versions 1.11.13 and later are not affected.
Risk and Exploitability
With a CVSS score of 6.9 the vulnerability is classified as moderate. EPSS data is not available, and the issue is not listed in the CISA KEV catalog. The attack vector is network-based: the attacker crafts a JWE token with a zip: DEF header and transmits it to the target system. The malicious payload automatically triggers during decryption, making exploitation trivial and immediate.