jose4j is vulnerable to DoS via compressed JWE content
High severity
GitHub Reviewed
Published
Dec 17, 2025
to the GitHub Advisory Database
•
Updated Jan 6, 2026
Description
Published by the National Vulnerability Database
Dec 17, 2025
Published to the GitHub Advisory Database
Dec 17, 2025
Reviewed
Dec 18, 2025
Last updated
Jan 6, 2026
In jose4j before 0.9.6, an attacker can cause a Denial-of-Service (DoS) condition by crafting a malicious JSON Web Encryption (JWE) token with an exceptionally high compression ratio. When this token is processed by the server, it results in significant memory allocation and processing time during decompression.
References