CVE-2026-137560: Web-token jwt-framework before 3.4.13 Denial of Service via Unbounded RSA Key Size
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 Software
Event History
Frequently Asked Questions
Which deployments are exposed to remote exploitation?
Deployments that verify PS256, PS384, or PS512 signatures using attacker-supplied RSA keys are exposed. A cited example is accepting a crafted key in the JWK header of a DPoP proof; when GMP is unavailable, any RSA operation can be affected.
What does an attacker need to do to trigger the denial of service?
The attacker does not need privileges or user interaction. They must be able to supply a crafted RSA key with an excessively large modulus or public exponent to an affected RSA operation.
Which versions need remediation?
Affected versions are 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. Upgrade to the applicable fixed version or later.