Home / mailingsPDF  

[USN-9212-1] PyJWT vulnerabilities

Posted on 26 November 2026
Ubuntu Security

==========================================================================Ubuntu Security Notice USN-9212-1
November 26, 2026

pyjwt vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 26.04 LTS
- Ubuntu 24.04 LTS
- Ubuntu 22.04 LTS

Summary:

Several security issues were fixed in PyJWT.

Software Description:
- pyjwt: Python 3 implementation of JSON Web Token

Details:

It was discovered that PyJWT incorrectly handled errors when parsing deeply
nested token headers. An attacker could possibly use this issue to cause
applications using PyJWT to fail unexpectedly, resulting in a denial of
service. (CVE-2026-102265)

It was discovered that PyJWT modified the options mapping supplied by an
application when signature verification was disabled. If an application
reused that mapping for a later call with signature verification enabled,
an attacker could possibly use this issue to bypass token claim checks,
such as expiration. This issue only affected Ubuntu 22.04 LTS.
(CVE-2026-103001)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 26.04 LTS
python3-jwt 2.10.1-4ubuntu1.5

Ubuntu 24.04 LTS
python3-jwt 2.7.0-1ubuntu0.6

Ubuntu 22.04 LTS
python3-jwt 2.3.0-1ubuntu0.8

In general, a standard system update will make all the necessary changes.

References:
https://ubuntu.com/security/notices/USN-9212-1
CVE-2026-102265, CVE-2026-103001

Package Information:
https://launchpad.net/ubuntu/+source/pyjwt/2.10.1-4ubuntu1.5
https://launchpad.net/ubuntu/+source/pyjwt/2.7.0-1ubuntu0.6
https://launchpad.net/ubuntu/+source/pyjwt/2.3.0-1ubuntu0.8

--===============1930354975904581067==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature

 

TOP