Vulnerability
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.
32 advisories report this vulnerability, across 9 ecosystems.
Advisories in Chainguard
- CGA-28x6-9p5r-x5mc
- CGA-4p64-4whg-3qrv
- CGA-4x45-p4j8-5gqj
- CGA-572r-vrc5-wrw2
- CGA-753g-hhg8-5w2r
- CGA-95mq-j9g4-hf6h
- CGA-9h53-gm58-wh4f
- 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