CVE-2026-137581
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.
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"} | |
| web-token | jwt-encryption | {"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.