CVE-2026-137580

web-token jwt-framework before 3.4.13 Denial of Service via JSONGeneralSerializer

High published · updated

8.2
CVSS score out of 10 · CNA (VulnCheck)

Description

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 products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
jwt-library web-token 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.64.2.6 CVE.org
jwt-framework web-token 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.64.2.6 CVE.org
jwt-signature web-token ≤3.2.10— CVE.org

References