{"id":"CVE-2026-102270","revision":"f2ba7ac682be4e3bbbbc10296948ef92","records":[{"revision":"f2ba7ac682be4e3bbbbc10296948ef92","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-102270","aliases":[],"title":"PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.","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.","state":0,"publishedAt":"2026-09-28T20:29:24.479+00:00","modifiedAt":"2026-09-29T19:36:54.944+00:00","affected":[{"ecosystem":"Vendor product","name":"pyjwt","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"jpadilla\",\n                    \"product\": \"pyjwt\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.14.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","score":4.4,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-102270","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-102270","identifiers":["CVE-2026-102270"]},"retained":false,"historicalAffected":[]}],"coverage":[]}