CVE-2026-137560

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

Published Nov 26, 2026 CVSS 4.0 · 8.2 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Web-token
Web-token jwt-core
Web-token jwt-encryption
Web-token jwt-encryption-algorithm-rsa
Web-token jwt-framework
Web-token jwt-library
Web-token jwt-signature
Web-token jwt-signature-algorithm-rsa
Vendors & Products Web-token
Web-token jwt-core
Web-token jwt-encryption
Web-token jwt-encryption-algorithm-rsa
Web-token jwt-framework
Web-token jwt-library
Web-token jwt-signature
Web-token jwt-signature-algorithm-rsa
Type Values Removed Values Added
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.
Title Web-token jwt-framework before 3.4.13 Denial of Service via Unbounded RSA Key Size
First Time appeared Nats
Nats jwt Library
Weaknesses CWE-400
CPEs cpe:2.3:a:nats:jwt_library:*:*:*:*:*:*:*:*
Vendors & Products Nats
Nats jwt Library
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}