CVE-2026-137560
Web-token jwt-framework before 3.4.13 Denial of Service via Unbounded RSA Key Size
8.2
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 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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| jwt-library | web-token | 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.6 | 4.2.6 | CVE.org |
| jwt-framework | web-token | 0 → <3.4.13; 4.0.0 → <4.0.9; 4.1.0 → <4.1.11; 4.2.0 → <4.2.6 | 4.2.6 | CVE.org |
| jwt-core | web-token | ≤3.2.10 | — | CVE.org |
| jwt-signature | web-token | 0 → <2.0.4 | 2.0.4 | CVE.org |
| jwt-encryption | web-token | 0 → <2.0.4 | 2.0.4 | CVE.org |
| jwt-signature-algorithm-rsa | web-token | ≤3.2.10 | — | CVE.org |
| jwt-encryption-algorithm-rsa | web-token | ≤3.2.10 | — | CVE.org |