# CVE-2026-142242: JJWT through 0.13.0 Memory Exhaustion via Unbounded JWE Payload Decompression

Source: https://aplosec.si/cve/CVE-2026-142242/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-142242

High 8.2 · Reported · No fix listed · CWE-409 · Maven

# JJWT through 0.13.0 Memory Exhaustion via Unbounded JWE Payload Decompression

CVE-2026-142242 · published 2026-12-02

In plain words: this type of bug lets someone slow down or crash the service with crafted input (denial of service). No fixed release is listed yet.

## Summary

CVE-2026-142242 affects JJWT (Maven) <= 0.13.0: Memory Exhaustion via Unbounded JWE Payload Decompression (CWE-409). No fixed release is listed. CVSS 4.0 base score 8.2 (High), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).

JJWT through 0.13.0 contains an unbounded decompression vulnerability in DefaultJwtParser that allows unauthenticated remote attackers to exhaust memory by submitting highly compressible JWEs. Attackers who know the recipient's public key can craft small DEF or GZIP compressed JWEs using RSA-OAEP, RSA1_5 or ECDH-ES that inflate to hundreds of megabytes, causing OutOfMemoryError and denial of service.

## Evidence

Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.

## Remediation

No fixed release is listed in the advisory. Check the references for upstream status.

## References

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/jjwt-through-0.13.0-memory-exhaustion-via-unbounded-jwe-payload-decompression](https://www.vulncheck.com/advisories/jjwt-through-0.13.0-memory-exhaustion-via-unbounded-jwe-payload-decompression)

- [Vulnerable codehttps://github.com/jwtk/jjwt/blob/0.13.0/impl/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionAlgorithm.java#L153-L168](https://github.com/jwtk/jjwt/blob/0.13.0/impl/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionAlgorithm.java#L153-L168)

- [Vulnerable codehttps://github.com/jwtk/jjwt/blob/0.13.0/impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParser.java#L567-L591](https://github.com/jwtk/jjwt/blob/0.13.0/impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParser.java#L567-L591)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-142242](https://www.cve.org/CVERecord?id=CVE-2026-142242)

**Severity:** High 8.2 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-142242)

**Package:** JJWT

**Ecosystem:** Maven

**Affected:** <= 0.13.0

**Fixed:** None

**Weakness:** CWE-409

**CNA:** VulnCheck

**Credit:** Zachariah Mithani (AploSec) finder
