CVE-2026-102265

published 28 Sep 2026 · updated 16 Nov 2026

PyJWT: Uncaught RecursionError in jwt.decode() on deeply nested token header

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
jpadilla>=2.13.0 <2.14.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-102265 severity on Zeptric[![CVE-2026-102265](https://zeptric.io/badge/cve/CVE-2026-102265.svg)](https://zeptric.io/cve/CVE-2026-102265)