CVE-2026-102270: PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
Vulnerability summary
CVE-2026-102270 is a medium (CVSS 4.9) vulnerability in jpadilla pyjwt. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12.1% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 12Timeline
- 28-09-2026PublishedVulnerability first disclosed.
- 29-09-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- CVE.orgCNA4.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · PypiEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
Decrease -0.03 pp
From 0.25% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPyjwt
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard9 products
- authentik-fips-2026.5< 2026.5.7-r7
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.84-core-integrations< 7.84.1-r1
- datadog-agent-fips-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-fips-7.84-core-integrationsAll versions (No fix recorded) | < 7.84.2-r3
Debian1 product
- pyjwtAll versions (No fix recorded) | < 2.14.0-1
Jpadilla1 product
- pyjwt< 2.14.0
Pyjwt_project1 product
- pyjwt< 2.14.0
PyPI1 product
- pyjwt< 2.14.0
Ubuntu1 product
- pyjwtAll versions (No fix recorded) | < 1.5.3+ds1-1ubuntu0.1+esm3 | < 1.7.1-2ubuntu2.1+esm3 | < 2.3.0-1ubuntu0.5 | < 2.7.0-1ubuntu0.3 | < 2.13.0-1ubuntu1 | < 2.10.1-4ubuntu1.2
Wolfi1 product
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
7 vendors · 15 products
References
11 links- github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5pX Refsource CONFIRMWEBREPORTAdvisoryExploitPatchVendor Advisory
- github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07X Refsource MISCWEBREPORTFIXPatch
- github.com/jpadilla/pyjwtPACKAGE
- pypi.org/project/pyjwtPACKAGE