# CVE-2026-102270: PyJWT: ReDoS vulnerability when calling the \`is\_pem\_format\` function.

- Priority: **Routine**
- Reason: Not severe (CVSS 4.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-28 · Modified: 2026-09-29
- Aliases: GHSA-jwrc-g2q2-pq5p, PYSEC-2026-4148, UBUNTU-CVE-2026-102270, DEBIAN-CVE-2026-102270, CGA-28x6-9p5r-x5mc, CGA-9h53-gm58-wh4f, CGA-4p64-4whg-3qrv, CGA-4x45-p4j8-5gqj, CGA-572r-vrc5-wrw2, CGA-753g-hhg8-5w2r, CGA-95mq-j9g4-hf6h, CGA-9prx-r4q8-96vx, CGA-c8c8-rf83-f7wp, CGA-hvv2-6pjh-3gr9, CGA-prrq-8694-wpfh, CGA-qc83-4j74-vv5x, CGA-qh86-6g53-jm26, CGA-v82c-rrfm-p5gp, CGA-wqv9-pj7x-q7r3
- Record: https://cvemate.com/vulnerability/CVE-2026-102270 · JSON: https://cvemate.com/vulnerability/CVE-2026-102270/json

## Description

```text
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.
```

## Signals

- CVSS: 4.9 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.212%, percentile 12.145%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard authentik-fips-2026.5 (Chainguard): \< 2026.5.7-r7
- chainguard datadog-agent-7.78-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.84-core-integrations (Chainguard): \< 7.84.1-r1
- chainguard datadog-agent-fips-7.78-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.84-core-integrations (Chainguard): All versions (No fix recorded) \| \< 7.84.2-r3
- chainguard kserve-huggingfaceserver-cuda-13.3 (Chainguard): All versions (No fix recorded) \| \< 0.21.0-r4
- chainguard nemo-rl-cuda-13.0-gym (Chainguard): \< 0.7.0-r2
- chainguard nemo-rl-cuda-13.0-vllm (Chainguard): \< 0.7.0-r2
- chainguard superset-fips-6.1 (Chainguard): \< 6.1.0-r7
- wolfi datadog-agent-7.78-core-integrations (Wolfi): All versions (No fix recorded)
- debian pyjwt (Debian): All versions (No fix recorded) \| \< 2.14.0-1
- ubuntu pyjwt (Ubuntu): All 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
- jpadilla pyjwt: \< 2.14.0
- pyjwt\_project pyjwt: \< 2.14.0
- PyPI pyjwt (PyPI): \< 2.14.0

## References

- <https://github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5p>
- <https://github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07>
- <https://github.com/jpadilla/pyjwt/releases/tag/2.14.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102270>
- <https://github.com/jpadilla/pyjwt>
- <https://pypi.org/project/pyjwt>
- <https://github.com/advisories/GHSA-jwrc-g2q2-pq5p>
- <https://ubuntu.com/security/CVE-2026-102270>
- <https://www.cve.org/CVERecord?id=CVE-2026-102270>
- <https://security-tracker.debian.org/tracker/CVE-2026-102270>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102270.json>

---

Data as of 2026-12-05T07:13:46.634Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
