Improper handling of exceptional conditions in pyjwt - #VU151957
Published: September 24, 2026
Vulnerability identifier: #VU151957
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 parsing when parsing a JWK Set containing a malformed RSA JWK. A remote attacker can supply a JWK Set containing a malformed RSA key to cause a denial of service.
Affected software
pyjwt
Remediation
Install security update from vendor's website.
pyjwt - update to 2.14.0