CVE-2026-137580
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 2 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| sid | php-web-token-jwt-framework |
Fixed | 4.2.7-1 |
| forky | php-web-token-jwt-framework |
Fixed | 4.2.7-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| web-token | jwt-library | {"endExcluding":"3.4.13"} | 3.4.13 |
| web-token | jwt-library | {"startIncluding":"4.0.0","endExcluding":"4.0.9"} | 4.0.9 |
| web-token | jwt-library | {"startIncluding":"4.1.0","endExcluding":"4.1.11"} | 4.1.11 |
| web-token | jwt-library | {"startIncluding":"4.2.0","endExcluding":"4.2.6"} | 4.2.6 |
| web-token | jwt-framework | {"endExcluding":"3.4.13"} | 3.4.13 |
| web-token | jwt-framework | {"startIncluding":"4.0.0","endExcluding":"4.0.9"} | 4.0.9 |
| web-token | jwt-framework | {"startIncluding":"4.1.0","endExcluding":"4.1.11"} | 4.1.11 |
| web-token | jwt-framework | {"startIncluding":"4.2.0","endExcluding":"4.2.6"} | 4.2.6 |
| web-token | jwt-signature | {"endIncluding":"3.2.10"} | |
References
CWEs
CWE-407
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.