Improper handling of exceptional conditions in pyjwt - CVE-2026-102274
Published: September 17, 2026 / Updated: September 29, 2026
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
Ubuntu
python3-jwt (Ubuntu package)
python-jwt (Ubuntu package)
How to mitigate CVE-2026-102274
python-jwt (Ubuntu package) - addressed in versions 1.3.0-1ubuntu0.1+esm4, 1.5.3+ds1-1ubuntu0.1+esm4