Denial of service in web-token JWT parsing of JSON General tokens
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-407.
Summary
web-token jwt-framework and jwt-library from 0 before 3.4.13, from 4.0.0 before 4.0.9, from 4.1.0 before 4.1.11, and from 4.2.0 before 4.2.6 are affected, and jwt-signature from 0 through 3.2.10 is affected. Parsing JSON General serialized JWS tokens takes quadratic time (CWE-407) because each added signature clones the token. An unauthenticated remote attacker can send large tokens with thousands of empty signatures to exhaust CPU and occupy PHP workers.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| web-token | jwt-library | before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 | 3.4.13, 4.0.9, 4.1.11, 4.2.6 | Patch available | CNA |
| web-token | jwt-framework | before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 | 3.4.13, 4.0.9, 4.1.11, 4.2.6 | Patch available | CNA |
| web-token | jwt-signature | up to 3.2.10 | — | No fix listed | CNA |
- jwt-library Vendorweb-token Affected before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6 Patch available CNA
- jwt-framework Vendorweb-token Affected before 3.4.13; 4.0.0 to before 4.0.9; 4.1.0 to before 4.1.11; 4.2.0 to before 4.2.6 Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6 Patch available CNA
- jwt-signature Vendorweb-token Affected up to 3.2.10 Fixed in — No fix listed CNA
Remediation
Upgrade jwt-framework and jwt-library to the fixed version for each release line: 3.4.13, 4.0.9, 4.1.11 or 4.2.6. The sources list no fixed version for jwt-signature.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA jwt-library (web-token) Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6
- Fix · CNA jwt-framework (web-token) Fixed in 3.4.13, 4.0.9, 4.1.11, 4.2.6
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
web-token jwt-framework, jwt-library 3.4.13, 4.0.9 and 2 more versions
10 records Highest priority Priority LOW 10 LOW
Other records, highest priority first
- TI-2026-98993 Denial of service in web-token jwt-framework JWE and JWS loadersPriority LOW 36
- TI-2026-98992 Denial of service in web-token jwt-framework through JSON decodingPriority LOW 35
- TI-2026-98990 RSA private key timing side channel in web-token jwt-frameworkPriority LOW 35
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137580
- 2026-11-27 Alias added: GHSA-f6x9-782c-2w5w
References
More web-token vulnerabilities
- TI-2026-96428 Uncontrolled resource use in Web-Token jwt-framework and jwt-library CVSS 4.0HIGH 8.7
- TI-2026-98993 Denial of service in web-token jwt-framework JWE and JWS loaders CVSS 4.0HIGH 8.2
- TI-2026-98992 Denial of service in web-token jwt-framework through JSON decoding CVSS 4.0HIGH 8.2
- TI-2026-98990 RSA private key timing side channel in web-token jwt-framework CVSS 4.0HIGH 8.2
- TI-2026-98985 Denial of service in web-token jwt-framework via unbounded RSA keys CVSS 4.0HIGH 8.2
- TI-2026-98984 CPU exhaustion in web-token jwt-framework ECDH-ES epk parsing CVSS 4.0HIGH 8.2
Sources
- CVE-2026-137580 · CVE Program
- CVE-2026-137580 · NVD
- FIRST EPSS
- GHSA-f6x9-782c-2w5w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences