NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2024-29371: jose4j is vulnerable to DoS via compressed JWE content

highCVSS 3.1 7.5GHSA-3677-xxcr-wjqv

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.

Published Dec 17, 2025 · Updated Jan 6, 2026

Affected packages

org.bitbucket.b_c:jose4j

Ecosystem
Maven
Affected
< 0.9.6
Fixed in
0.9.6
Check
mvn dependency:tree -Dincludes=org.bitbucket.b_c:jose4j

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to ShichengRao.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries