Improper handling of exceptional conditions in pyjwt - #VU150518

 

Improper handling of exceptional conditions in pyjwt - #VU150518

Published: September 17, 2026


Vulnerability identifier: #VU150518
CSH Severity: Medium
CVSS v4: 8.2 [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]
CVE-ID: N/A
CWE-ID: CWE-755
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to improper handling of exceptional conditions in PyJWKSet and RSAAlgorithm.from_jwk when parsing a JWK Set containing a malformed RSA private key. A remote attacker can provide a JWK Set containing an RSA key with an invalid private exponent to cause a denial of service.


Affected software

pyjwt

Remediation

Install security update from vendor's website.


External References