Ubuntu Security Notice
USN-8934-1
pyjwt vulnerabilities
Details
Kingsley Olukanni discovered that PyJWT did not properly handle unknown key identifiers when retrieving signing keys. An attacker could possibly use this issue to amplify requests to the configured key endpoint, resulting in a denial of service. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS and Ubuntu 26.10. (CVE-2026-101917)
Ekalabya Ghosh discovered that PyJWT did not properly handle certain recursively nested JSON payloads. An attacker could possibly use this issue to cause an application to fail, resulting in a denial of service. (CVE-2026-101918)
Pedram Hayati discovered that PyJWT did not properly handle malformed RSA keys in a JSON Web Key Set. An attacker could possibly use this issue to cause authentication failures or a denial of service. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS and Ubuntu 26.10. (CVE-2026-102274)
It was discovered that PyJWT did not properly validate certain OKP private key components. An attacker could possibly use this issue to confuse the identity of public and private keys, and use a stolen sender-constrained token without the legitimate private key. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS and Ubuntu 26.10. (CVE-2026-102275)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | pyjwt | All versions before 1.3.0-1ubuntu0.1+esm4 (fixed in 1.3.0-1ubuntu0.1+esm4) |
| Ubuntu:Pro:18.04:LTS | pyjwt | All versions before 1.5.3+ds1-1ubuntu0.1+esm4 (fixed in 1.5.3+ds1-1ubuntu0.1+esm4) |
| Ubuntu:Pro:20.04:LTS | pyjwt | All versions before 1.7.1-2ubuntu2.1+esm4 (fixed in 1.7.1-2ubuntu2.1+esm4) |
| Ubuntu:22.04:LTS | pyjwt | All versions before 2.3.0-1ubuntu0.6 (fixed in 2.3.0-1ubuntu0.6) |
| Ubuntu:24.04:LTS | pyjwt | All versions before 2.7.0-1ubuntu0.4 (fixed in 2.7.0-1ubuntu0.4) |
| Ubuntu:26.10 | pyjwt | All versions before 2.13.0-1ubuntu1.1 (fixed in 2.13.0-1ubuntu1.1) |
| Ubuntu:26.04:LTS | pyjwt | All versions before 2.10.1-4ubuntu1.3 (fixed in 2.10.1-4ubuntu1.3) |