CVE-2026-137582: Web-token jwt-framework before 3.4.13 DoS via JWE/JWS Multiple Recipients
web-token jwt-framework before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 allows denial of service because JWELoader and JWSLoader try every recipient or signature of a JSON General serialized token without limiting their number. Unauthenticated attackers can send a small JWE with many empty recipients inheriting a maximal PBES2 p2c value, forcing repeated key derivations that exhaust worker CPU.
Affected Software
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications using composer/web-token/jwt-framework in versions before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, or 4.2.x before 4.2.6 are affected when they process JSON General serialized JWE or JWS tokens through JWELoader or JWSLoader.
What does an attacker need to exploit the denial of service?
An unauthenticated attacker needs to be able to submit a crafted JSON General serialized token to an application that processes it. The described JWE attack uses a small token with many empty recipients and a maximal PBES2 p2c value, causing repeated key derivations that can exhaust worker CPU.
What versions should be deployed to remediate the issue?
Upgrade to 3.4.13 or later on the 3.x line, 4.0.9 or later on the 4.0.x line, 4.1.11 or later on the 4.1.x line, or 4.2.6 or later on the 4.2.x line.