Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-2xq2-pp89-x7
- https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-denia
FAQ
What is CVE-2026-137581?
CVE-2026-137581 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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...
How severe is CVE-2026-137581?
CVE-2026-137581 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137581?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.