CVE-2026-102270
PyJWT is a Python implementation of JSON Web Token standards. Prior …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07
- github.com/jpadilla/pyjwt/releases/tag/2.14.0
- github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5p
- nvd.nist.gov/vuln/detail/CVE-2026-102270
- github.com/advisories/GHSA-jwrc-g2q2-pq5p
- nvd.nist.gov/vuln/detail/CVE-2026-102270
- cve.org/CVERecord?id=CVE-2026-102270
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.