CVE-2026-102270: PyJWT - Denial of Service
- Cve: CVE-2026-102270
- Name: PyJWT - Denial of Service
- 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.
- Impact: Attackers can cause intensive CPU consumption leading to denial of service.
- Remediation: Upgrade to version 2.14.0 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00212
- Epss percentile: 0.11304
- Assignee: [email protected]
- Published at: 2026-09-28T21:17:14Z
- Age in days: 57
- Modified at: 2026-10-06T18:46:19Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-102270
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5p | nvd | 2026-09-28 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07 | Patch |
| https://github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5p | Exploit, Patch, Vendor Advisory |
| https://github.com/jpadilla/pyjwt/releases/tag/2.14.0 | Product, Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| pyjwt_project:pyjwt | < 2.14.0 | no | nvd | /v1/products/pyjwt_project/pyjwt |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| jpadilla/pyjwt | commit, package, releases, security_advisory | yes | /v1/repositories/jpadilla/pyjwt |
Index
- Repositories: 1603
- Repositories high signal: 1015
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-09-28
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts