CVE-2026-137580

MEDIUMCVSS 5.9/10

Last modified

CVE-2026-137580 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 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..

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.

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

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-137580?
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.
How severe is CVE-2026-137580?
CVE-2026-137580 has a CVSS score of 5.9/10 (MEDIUM severity).
How do I fix CVE-2026-137580?
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-137580?

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

Scan your code now

Source: NVD / NIST