CVE-2026-137560
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 vulnerabilit…
Impact
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.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of outages.
Affected products (Web-token)
| Product | Affected versions |
|---|---|
| Jwt-core | through 3.2.10 Version 0 ≤3.2.10 |
| Jwt-encryption | before 2.0.4 |
| Jwt-encryption-algorithm-rsa | through 3.2.10 Version 0 ≤3.2.10 |
| Jwt-framework | before 3.4.13 from 4.0.0 before 4.0.9 from 4.1.0 before 4.1.11 from 4.2.0 before 4.2.6 |
| Jwt-library | before 3.4.13 from 4.0.0 before 4.0.9 from 4.1.0 before 4.1.11 from 4.2.0 before 4.2.6 |
| Jwt-signature | before 2.0.4 |
| Jwt-signature-algorithm-rsa | through 3.2.10 Version 0 ≤3.2.10 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/web-token/jwt-framework/security/advisories/GHSA-96f8-m4jr-72xj
- https://www.vulncheck.com/advisories/web-token-jwt-framework-before-3.4.13-denial-of-service-via-unbounded-rsa-key-size
- https://github.com/advisories/GHSA-9q9p-8vpf-7266
- https://nvd.nist.gov/vuln/detail/CVE-2026-137560