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.
References
| Link | Resource |
|---|---|
| https://github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07 | Patch |
| https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 | Product Release Notes |
| https://github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5p | Exploit Patch Vendor Advisory |
| https://github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5p | Exploit Patch Vendor Advisory |
Configurations
History
06 Oct 2026, 18:46
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Pyjwt Project pyjwt
Pyjwt Project |
|
| CPE | cpe:2.3:a:pyjwt_project:pyjwt:*:*:*:*:*:*:*:* | |
| References | () https://github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07 - Patch | |
| References | () https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 - Product, Release Notes | |
| References | () https://github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5p - Exploit, Patch, Vendor Advisory |
29 Sep 2026, 20:17
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5p - |
28 Sep 2026, 21:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-28 21:17
Updated : 2026-10-06 18:46
NVD link : CVE-2026-102270
Mitre link : CVE-2026-102270
CVE.ORG link : CVE-2026-102270
JSON object : View
Products Affected
pyjwt_project
- pyjwt
CWE
CWE-1333
Inefficient Regular Expression Complexity
