CVE-2026-137581

MEDIUMCVSS 5.9/10

Last modified

CVE-2026-137581 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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..

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.

Metrics

Weakness Enumeration

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
web-tokenjwt-library< 3.4.13; >= 4.0.0, < 4.0.9; >= 4.1.0, < 4.1.11; >= 4.2.0, < 4.2.6
web-tokenjwt-framework< 3.4.13; >= 4.0.0, < 4.0.9; >= 4.1.0, < 4.1.11; >= 4.2.0, < 4.2.6
web-tokenjwt-signature<= 3.2.10
web-tokenjwt-encryption<= 3.2.10

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-137581?
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.
How severe is CVE-2026-137581?
CVE-2026-137581 has a CVSS score of 5.9/10 (MEDIUM severity).
How do I fix CVE-2026-137581?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-137581?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST