Web-token jwt-framework before 3.4.13 Denial of Service via Unbounded RSA Key Size

State
Published
Severity
8.2 High
Published
Nov 26, 2026
Updated
Nov 26, 2026
Reserved
Nov 26, 2026

Read the record on cve.org

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.

ProductVersions
jwt-library web-tokenbefore 3.4.13 Affected3.4.13 Not Affected4.0.0 to before 4.0.9 Affected4.0.9 Not Affected4.1.0 to before 4.1.11 Affected4.1.11 Not Affected4.2.0 to before 4.2.6 Affected4.2.6 Not Affected
jwt-framework web-tokenbefore 3.4.13 Affected3.4.13 Not Affected4.0.0 to before 4.0.9 Affected4.0.9 Not Affected4.1.0 to before 4.1.11 Affected4.1.11 Not Affected4.2.0 to before 4.2.6 Affected4.2.6 Not Affected
jwt-core web-token3.2.10 and earlier Affected
jwt-signature web-tokenbefore 2.0.4 Affected2.0.4 Not Affected
jwt-encryption web-tokenbefore 2.0.4 Affected2.0.4 Not Affected
jwt-signature-algorithm-rsa web-token3.2.10 and earlier Affected
jwt-encryption-algorithm-rsa web-token3.2.10 and earlier Affected

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.