
CVE catalog
CVE-2026-102265
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWS._load in jwt/api_jws.py is affected because parser catches ValueError but not RecursionError. This occurs
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.34% · Oct 25, 2026
PyJWT is a Python implementation of JSON Web Token standards. From 2.13.0 until 2.14.0, PyJWS._load in jwt/api_jws.py is affected because parser catches ValueError but not RecursionError. This occurs when a deeply nested token header reaches json.loads. As a result, RecursionError escapes the documented PyJWT error hierarchy. Consequently, an unauthenticated malformed token can cause a request-level failure and HTTP 500. This issue is fixed in version 2.14.0.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pyjwt | sid | 2.15.1-1 | fixed |
| Debian | pyjwt | forky | 2.15.1-1 | fixed |
| Debian | pyjwt | trixie | 2.10.1-2+deb13u1 | vulnerable |
| Debian | pyjwt | trixie-security | 2.10.1-2+deb13u1 | vulnerable |
| Debian | pyjwt | bookworm | 2.6.0-1+deb12u1 | vulnerable |
| Debian | pyjwt | bookworm-security | 2.6.0-1+deb12u1 | vulnerable |
| PyPI | pyjwt | Not reported | 2.14.0 | fixed |
| PyPI | pyjwt | Not reported | 2.14.0 | fixed |
| Cpe | pyjwt | Not reported | Not reported | unknown |
| Ubuntu | pyjwt | pro | 1.7.0-2 | vulnerable |
| Ubuntu | pyjwt | pro | 1.7.1-1 | vulnerable |
| Ubuntu | pyjwt | pro | 1.7.1-2ubuntu1 | vulnerable |
| Ubuntu | pyjwt | pro | 1.7.1-2ubuntu2 | vulnerable |
| Ubuntu | pyjwt | pro | 1.7.1-2ubuntu2.1 | vulnerable |
| Ubuntu | pyjwt | pro | 1.7.1-2ubuntu2.1+esm1 | vulnerable |
| Ubuntu | pyjwt | pro | 1.7.1-2ubuntu2.1+esm2 | vulnerable |
| Ubuntu | pyjwt | pro | 1.7.1-2ubuntu2.1+esm3 | vulnerable |
| Ubuntu | pyjwt | pro | 1.7.1-2ubuntu2.1+esm4 | vulnerable |
| Ubuntu | pyjwt | 22.04 | 1.7.1-2ubuntu2 | vulnerable |
| Ubuntu | pyjwt | 22.04 | 2.1.0-1 | vulnerable |
| Ubuntu | pyjwt | 22.04 | 2.3.0-1 | vulnerable |
| Ubuntu | pyjwt | 22.04 | 2.3.0-1ubuntu0.1 | vulnerable |
| Ubuntu | pyjwt | 22.04 | 2.3.0-1ubuntu0.2 | vulnerable |
| Ubuntu | pyjwt | 22.04 | 2.3.0-1ubuntu0.3 | vulnerable |
| Ubuntu | pyjwt | 22.04 | 2.3.0-1ubuntu0.4 | vulnerable |
| Ubuntu | pyjwt | 22.04 | 2.3.0-1ubuntu0.5 | vulnerable |
| Ubuntu | pyjwt | 22.04 | 2.3.0-1ubuntu0.6 | vulnerable |
| Ubuntu | pyjwt | 24.04 | 2.7.0-1 | vulnerable |
| Ubuntu | pyjwt | 24.04 | 2.7.0-1ubuntu0.1 | vulnerable |
| Ubuntu | pyjwt | 24.04 | 2.7.0-1ubuntu0.2 | vulnerable |
| Ubuntu | pyjwt | 24.04 | 2.7.0-1ubuntu0.3 | vulnerable |
| Ubuntu | pyjwt | 24.04 | 2.7.0-1ubuntu0.4 | vulnerable |
| Ubuntu | pyjwt | 26.10 | 2.10.1-4ubuntu1 | vulnerable |
| Ubuntu | pyjwt | 26.10 | 2.12.1-1 | vulnerable |
| Ubuntu | pyjwt | 26.10 | 2.13.0-1 | vulnerable |
| Ubuntu | pyjwt | 26.10 | 2.13.0-1ubuntu1 | vulnerable |
| Ubuntu | pyjwt | 26.10 | 2.13.0-1ubuntu1.1 | vulnerable |
| Ubuntu | pyjwt | 26.04 | 2.10.1-2 | vulnerable |
| Ubuntu | pyjwt | 26.04 | 2.10.1-3 | vulnerable |
| Ubuntu | pyjwt | 26.04 | 2.10.1-3build1 | vulnerable |
| Ubuntu | pyjwt | 26.04 | 2.10.1-4 | vulnerable |
| Ubuntu | pyjwt | 26.04 | 2.10.1-4ubuntu1 | vulnerable |
| Ubuntu | pyjwt | 26.04 | 2.10.1-4ubuntu1.1 | vulnerable |
| Ubuntu | pyjwt | 26.04 | 2.10.1-4ubuntu1.2 | vulnerable |
| Ubuntu | pyjwt | 26.04 | 2.10.1-4ubuntu1.3 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pyjwt | source | sid | 2.14.0-1 | not yet assigned | Not reported | Not reported |
| Debian | pyjwt | source | forky | 2.14.0-1 | not yet assigned | Not reported | Not reported |
| Debian | pyjwt | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | pyjwt | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| PyPI | pyjwt | PyPI | Not reported | 2.14.0 | Not reported | GHSA-8WJV-2P76-3863 | Not reported |
| PyPI | pyjwt | PyPI | Not reported | 2.14.0 | Not reported | PYSEC-2026-4142 | Not reported |
Notes
[bookworm] pyjwt: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-jwt]Affected
Source package: [pyjwt]
Details (4)
2.6.0-1+deb12u1· all · bookwormAffected
nvd · pyjwt · debian · bookworm; nvd · pyjwt · debian · 12
2.6.0-1+deb12u1· all · bookwormAffected
nvd · pyjwt · debian · bookworm; nvd · pyjwt · debian · 12
2.6.0-1+deb12u1· all · bookworm-securityAffected
nvd · pyjwt · debian · bookworm; nvd · pyjwt · debian · 12
2.6.0-1+deb12u1· all · bookworm-securityAffected
nvd · pyjwt · debian · bookworm; nvd · pyjwt · debian · 12
[Debian 13 (Trixie)]
- [python3-jwt]Affected
Source package: [pyjwt]
Details (4)
2.10.1-2+deb13u1· all · trixieAffected
nvd · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixieAffected
nvd · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixie-securityAffected
nvd · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixie-securityAffected
nvd · pyjwt · debian · 13
- [python-jwt-doc]Affected
Source package: [pyjwt]
Details (4)
2.10.1-2+deb13u1· all · trixieAffected
nvd · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixieAffected
nvd · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixie-securityAffected
nvd · pyjwt · debian · 13
2.10.1-2+deb13u1· all · trixie-securityAffected
nvd · pyjwt · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-102265]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-102265]
- [https://osv.dev/vulnerability/PYSEC-2026-4142]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-102265]
- [https://security-tracker.debian.org/tracker/CVE-2026-102265]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-102265.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]