Improper Handling of Exceptional Conditions Affecting pyjwt package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.39% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-PYJWT-20266403
  • published14 Oct 2026
  • disclosed28 Sept 2026

Introduced: 28 Sep 2026

NewCVE-2026-102274  (opens in a new tab)
CWE-755  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:22.04 pyjwt.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pyjwt package and not the pyjwt package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

PyJWT is a Python implementation of JSON Web Token standards. From 2.9.0 until 2.14.0, PyJWKSet does not catch the plain ValueError raised for malformed RSA JWK components by RSAAlgorithm.from_jwk in jwt/api_jwk.py. This occurs when a JWK Set contains a malformed RSA key alongside otherwise usable keys. As a result, one malformed member aborts construction of the entire PyJWKSet. Consequently, applications can experience authentication failures or request-level denial of service. This issue is fixed in version 2.14.0.

CVSS Base Scores

version 3.1