[ CVE-2026-102270 · Published 28 Sep 2026 ]
PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
CVSS 4.9
EPSS <1%1 agency advisoryFix available
[ Why it matters ]Priority signals
- Public proof-of-concept exploit exists (CISA SSVC)
[ Description ]Official 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.
[ Fixes ]Fixes and patches
- pyjwt 2.14.0Fixed version · GitHub Advisories · pip package pyjwt: upgrade to 2.14.0 or later (affected <= 2.13.0)
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
- Patch on github.comVendor patch or bulletin · NVD · Reference tagged 'Patch' by NVD
[ Advisories ]Government CERT advisories
-
CERT-FRCERTFR-2026-AVI-1249
Multiple vulnerabilities in VMware products Translated from French
Multiple vulnerabilities have been discovered in VMware products. They allow an attacker to cause a security problem not specified by the vendor.
[ Packages ]Affected open-source packages
- pyjwt pipAffected <= 2.13.0 · fixed in 2.14.0 · GHSA-jwrc-g2q2-pq5p
[ References ]References
- github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07Patch
- github.com/jpadilla/pyjwt/releases/tag/2.14.0ProductRelease Notes
- github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5pExploitPatchVendor Advisory