---
title: "CVE-2026-102270"
canonical_url: "https://pkgseek.com/security/CVE-2026-102270"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2026-102270

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.

CVE-2026-102270 is rated MEDIUM (4.9), with 4 indexed affected package builds across 2 distributions.

- **Severity / Score**: MEDIUM (4.9)
- **Affected builds**: 4
- **Affected distros**: 2
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | python3-jwt | 2.10.1-2+deb13u1 | — |
| Debian | trixie | python-jwt-doc | 2.10.1-2+deb13u1 | — |
| Ubuntu | jammy | python3-jwt | 2.3.0-1 | — |
| Ubuntu | noble | python3-jwt | 2.7.0-1 | — |
