CVE-2026-142242: JJWT Decompression Bomb
Published 2026-12-02 · Updated 2026-12-04 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — apply the vendor fix or mitigation on your normal schedule.
What to do
- The advisory lists versions through 0.13.0 as affected and does not name a fixed release. Check the references below for a newer version of JJWT or a vendor mitigation.
- Until it is patched, do not leave JJWT reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Limit the size of compressed input accepted and cap decompressed size where configurable.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| JJWT | ≤ 0.13.0 | Not stated in the advisory |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is high, so exploitation depends on conditions the attacker does not control. The impact on availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | High | Success depends on conditions outside the attacker's control. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: Decompression Bomb
A small compressed input expands to a very large size, exhausting memory or disk.
Classified as CWE-409.
Description
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://www.vulncheck.com/advisories/jjwt-through-0.13.0-memory-exhaustion-via-unbounded-jwe-payload-decompression
- Referencehttps://github.com/jwtk/jjwt/blob/0.13.0/impl/src/main/java/io/jsonwebtoken/impl/DefaultJwtParser.java#L567-L591
- Referencehttps://github.com/jwtk/jjwt/blob/0.13.0/impl/src/main/java/io/jsonwebtoken/impl/compression/AbstractCompressionAlgorithm.java#L153-L168