USN-8916-1

Source
https://ubuntu.com/security/notices/USN-8916-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8916-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-8916-1
Upstream
CVE (6)
Published
2026-10-13T10:09:47Z
Modified
2026-10-14T11:57:59Z
Summary
pyjwt vulnerabilities
Details

YuSung Han discovered that PyJWT did not properly validate certain JWK keys when performing HMAC verification. An attacker could possibly use this issue to forge authentication tokens. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-102266)

Rohan Das discovered that PyJWT incorrectly handled redirects when fetching key sets. A remote attacker could possibly use this issue to cause PyJWT to disclose sensitive information. This issue only affected Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS. (CVE-2026-102267)

It was discovered that PyJWT incorrectly recognized certain PEM representations. An attacker who knew the public key could possibly use this issue to forge authentication tokens. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS. (CVE-2026-102268)

Nuno Lopes discovered that PyJWT incorrectly handled DER public keys when performing HMAC verification. An attacker who knew the public key could possibly use this issue to forge authentication tokens. (CVE-2026-102271)

It was discovered that PyJWT did not properly handle certain JWK keys prefixed with a byte-order mark. An attacker who knew the public key could possibly use this issue to forge authentication tokens. (CVE-2026-102272)

Charles Vosburgh discovered that PyJWT incorrectly handled certain JWK containers when performing HMAC verification. An attacker who knew the public key could possibly use this issue to forge authentication tokens. (CVE-2026-102273)

References

Affected packages

Ubuntu:22.04:LTS
pyjwt

Package

Name
pyjwt
Purl
pkg:deb/ubuntu/pyjwt?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.3.0-1ubuntu0.5

Affected versions

1.*
1.7.1-2ubuntu2
2.*
2.1.0-1
2.3.0-1
2.3.0-1ubuntu0.1
2.3.0-1ubuntu0.2
2.3.0-1ubuntu0.3
2.3.0-1ubuntu0.4

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "python3-jwt",
            "binary_version":  "2.3.0-1ubuntu0.5"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [],
    "ecosystem":  "Ubuntu:22.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8916-1.json"
Ubuntu:24.04:LTS
pyjwt

Package

Name
pyjwt
Purl
pkg:deb/ubuntu/pyjwt?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.7.0-1ubuntu0.3

Affected versions

2.*
2.7.0-1
2.7.0-1ubuntu0.1
2.7.0-1ubuntu0.2

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "python3-jwt",
            "binary_version":  "2.7.0-1ubuntu0.3"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [],
    "ecosystem":  "Ubuntu:24.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8916-1.json"
Ubuntu:26.04:LTS
pyjwt

Package

Name
pyjwt
Purl
pkg:deb/ubuntu/pyjwt?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.10.1-4ubuntu1.2

Affected versions

2.*
2.10.1-2
2.10.1-3
2.10.1-3build1
2.10.1-4
2.10.1-4ubuntu1
2.10.1-4ubuntu1.1

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "python3-jwt",
            "binary_version":  "2.10.1-4ubuntu1.2"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [],
    "ecosystem":  "Ubuntu:26.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8916-1.json"
Ubuntu:Pro:16.04:LTS
pyjwt

Package

Name
pyjwt
Purl
pkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra-legacy%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.3.0-1ubuntu0.1+esm3

Affected versions

1.*
1.0.0-0ubuntu1
1.3.0-1
1.3.0-1ubuntu0.1
1.3.0-1ubuntu0.1+esm1
1.3.0-1ubuntu0.1+esm2

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python-jwt",
            "binary_version":  "1.3.0-1ubuntu0.1+esm3"
        },
        {
            "binary_name":  "python3-jwt",
            "binary_version":  "1.3.0-1ubuntu0.1+esm3"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [],
    "ecosystem":  "Ubuntu:Pro:16.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8916-1.json"
Ubuntu:Pro:18.04:LTS
pyjwt

Package

Name
pyjwt
Purl
pkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.5.3+ds1-1ubuntu0.1+esm3

Affected versions

1.*
1.4.2-1.1
1.5.3+ds1-1
1.5.3+ds1-1ubuntu0.1
1.5.3+ds1-1ubuntu0.1+esm1
1.5.3+ds1-1ubuntu0.1+esm2

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python-jwt",
            "binary_version":  "1.5.3+ds1-1ubuntu0.1+esm3"
        },
        {
            "binary_name":  "python3-jwt",
            "binary_version":  "1.5.3+ds1-1ubuntu0.1+esm3"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [],
    "ecosystem":  "Ubuntu:Pro:18.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8916-1.json"
Ubuntu:Pro:20.04:LTS
pyjwt

Package

Name
pyjwt
Purl
pkg:deb/ubuntu/pyjwt?arch=source&distro=esm-infra%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.7.1-2ubuntu2.1+esm3

Affected versions

1.*
1.7.0-2
1.7.1-1
1.7.1-2ubuntu1
1.7.1-2ubuntu2
1.7.1-2ubuntu2.1
1.7.1-2ubuntu2.1+esm1
1.7.1-2ubuntu2.1+esm2

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python3-jwt",
            "binary_version":  "1.7.1-2ubuntu2.1+esm3"
        }
    ]
}

Database specific

cves_map
{
    "cves":  [],
    "ecosystem":  "Ubuntu:Pro:20.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8916-1.json"