CVE-2026-137581

web-token jwt-framework before 3.4.13 Denial of Service via Unbounded JSON Decoding

High published · updated

8.2
CVSS score out of 10 · NVD (vulncheck.com)

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, and jwt-encryption and jwt-signature through 3.2.10, contain a denial of service vulnerability because the JWS and JWE serializers pass attacker-controlled tokens and protected headers to json_decode() without bounds before verification. Unauthenticated attackers can submit large tokens with colliding header member names or deeply nested arrays to cause quadratic decoding time or fatal memory exhaustion.

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
jwt-encryption web-token ≤3.2.10— CVE.org

References