CVE-2026-102270 PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
jpadilla
pyjwt
영향 받는 버전
- 2.14.0 미만
해결 버전
- 2.14.0 이상