CVE-2026-137580: web-token jwt-framework before 3.4.13 Denial of Service via JSONGeneralSerializer
web-token jwt-framework and jwt-library 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 parse JSON General serialized JWS tokens in quadratic time because JSONGeneralSerializer::unserialize() adds each signature via JWS::addSignature(), which clones the token. Unauthenticated remote attackers can send large tokens holding thousands of empty signatures to exhaust CPU and occupy PHP workers without any valid key or token.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this denial of service?
Deployments using composer/web-token/jwt-framework or composer/web-token/jwt-library that parse JSON General serialized JWS tokens are exposed if they run a version 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.
Does an attacker need a valid token, signing key, or account to trigger the issue?
No. An unauthenticated remote attacker can trigger the issue without a valid key or token by submitting a large JSON General serialized JWS token containing thousands of empty signatures.
What is the operational impact of exploitation?
Parsing is quadratic because each added signature clones the token. Large crafted tokens can exhaust CPU and occupy PHP workers, causing denial of service.