CVE-2026-102270

published 28 Sep 2026 · updated 16 Nov 2026

PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.

4.4MediumCVSS 4.4EPSS 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. Prior to 2.14.0, PyJWT is_pem_format is affected because lazy PEM regular expression backtracks extensively. This occurs when a certificate-like input contains repeated BEGIN markers without a matching END marker. As a result, is_pem_format performs unbounded backtracking while searching for a PEM end marker. Consequently, an attacker can cause intensive CPU consumption. This issue is fixed in version 2.14.0.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
jpadilla<2.14.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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