Impact
PyJWT does not catch a ValueError raised for malformed RSA JWK components when loading a JWK Set, a flaw that can be classified as CWE-248 and CWE-755. A single malformed key member aborts construction of the entire JWK Set, causing applications that rely on this library to fail authentication or experience a request‑level denial of service.
Affected Systems
The vulnerable product is PyJWT, maintained by jpadilla. Versions from 2.9.0 up to, but not including, 2.14.0 are affected.
Risk and Exploitability
The CVSS score of 5.9 indicates moderate severity. The EPSS score is < 1%, indicating a very low but non‑zero likelihood of exploitation. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is an actor supplying a malicious JWK Set to an application that uses PyJWT for token validation, which causes the parsing failure and results in authentication failures or request‑level denial of service.
OpenCVE Enrichment
Github GHSA