Medium severity4.4NVD Advisory· Published Sep 28, 2026· Updated Oct 6, 2026
CVE-2026-102270
CVE-2026-102270
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pyjwtPyPI | < 2.14.0 | 2.14.0 |
Affected products
3Patches
Vulnerability mechanics
References
5- github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07nvdPatchWEB
- github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5pnvdExploitPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-jwrc-g2q2-pq5pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-102270ghsaADVISORY
- github.com/jpadilla/pyjwt/releases/tag/2.14.0nvdProductRelease NotesWEB
News mentions
0No linked articles in our index yet.