Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-137560: high-severity vulnerability (CVSS 8.2) in web-token jwt-library.
What happened
Original description from the source: 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 contain a denial of service vulnerability in RSAKey, which accepts RSA keys with a modulus and public exponent of unbounded length. Remote attackers can supply a crafted key, such as in the jwk header of a DPoP proof, to force seconds of CPU per PS256/PS384/PS512 verification or RSA encryption, or per any RSA operation when GMP is unavailable.
Why it matters
High severity, CVSS 8.2.
Affected products and versions
web-token jwt-library < 3.4.13; web-token jwt-library 3.4.13 (fixed in 3.4.13); web-token jwt-library >= 4.0.0, < 4.0.9; web-token jwt-library 4.0.9 (fixed in 4.0.9); web-token jwt-library >= 4.1.0, < 4.1.11; web-token jwt-library 4.1.11 (fixed in 4.1.11); web-token jwt-library >= 4.2.0, < 4.2.6; web-token jwt-library 4.2.6 (fixed in 4.2.6); web-token jwt-framework < 3.4.13; web-token jwt-framework 3.4.13 (fixed in 3.4.13); web-token jwt-framework >= 4.0.0, < 4.0.9; web-token jwt-framework 4.0.9 (fixed in 4.0.9)
| Product | Versions | Fixed in |
|---|---|---|
| web-token jwt-library | < 3.4.13 | — |
| web-token jwt-library | 3.4.13 | 3.4.13 |
| web-token jwt-library | >= 4.0.0, < 4.0.9 | — |
| web-token jwt-library | 4.0.9 | 4.0.9 |
| web-token jwt-library | >= 4.1.0, < 4.1.11 | — |
| web-token jwt-library | 4.1.11 | 4.1.11 |
| web-token jwt-library | >= 4.2.0, < 4.2.6 | — |
| web-token jwt-library | 4.2.6 | 4.2.6 |
| web-token jwt-framework | < 3.4.13 | — |
| web-token jwt-framework | 3.4.13 | 3.4.13 |
| web-token jwt-framework | >= 4.0.0, < 4.0.9 | — |
| web-token jwt-framework | 4.0.9 | 4.0.9 |
| web-token jwt-framework | >= 4.1.0, < 4.1.11 | — |
| web-token jwt-framework | 4.1.11 | 4.1.11 |
| web-token jwt-framework | >= 4.2.0, < 4.2.6 | — |
| web-token jwt-framework | 4.2.6 | 4.2.6 |
| web-token jwt-core | <= 3.2.10 | — |
| web-token jwt-signature | < 2.0.4 | — |
| web-token jwt-signature | 2.0.4 | 2.0.4 |
| web-token jwt-encryption | < 2.0.4 | — |
| web-token jwt-encryption | 2.0.4 | 2.0.4 |
| web-token jwt-signature-algorithm-rsa | <= 3.2.10 | — |
| web-token jwt-encryption-algorithm-rsa | <= 3.2.10 | — |
Action recommended by the source
Upgrade to a fixed version: 2.0.4, 3.4.13, 4.0.9, 4.1.11, 4.2.6.
Fixed in: 2.0.4, 3.4.13, 4.0.9, 4.1.11, 4.2.6
Sources and references
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-96f8-m4jr-72xj — CVE Program
- https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-denial-of-service-via-unbounded-rsa-key-size — CVE Program
Weaknesses (CWE): CWE-400
Relevant change history
Published
Preliminary advisory published.