CVE-2026-102265

Publication date 28 September 2026

Last updated 26 November 2026


Ubuntu priority

CVSS 3 severity score

5.3 · Medium

Score breakdown

Description

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
pyjwt 26.10 stonking
Needs evaluation
26.04 LTS resolute
Fixed in 2.10.1-4ubuntu1.5
24.04 LTS noble
Fixed in 2.7.0-1ubuntu0.6
22.04 LTS jammy
Fixed in 2.3.0-1ubuntu0.8
20.04 LTS focal
Needs evaluation
18.04 LTS bionic
Needs evaluation
16.04 LTS xenial
Needs evaluation

Notes


john-breton

The header json.loads() catching only ValueError dates back to 2.0.0, not 2.13.0 as stated; jammy 2.3.0, noble 2.7.0 and resolute 2.10.1 are affected. Header counterpart of CVE-2026-101918 (payload).

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
pyjwt

Severity score breakdown

CVSS version: CVSS v3.0

Base score 5.3 · Medium

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L


Access our resources on patching vulnerabilities