CVE-2026-102270

NameCVE-2026-102270
DescriptionPyJWT 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pyjwt (PTS)bookworm, bookworm (security)2.6.0-1+deb12u1vulnerable
trixie (security), trixie2.10.1-2+deb13u1vulnerable
forky2.13.0-1vulnerable
sid2.15.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pyjwtsource(unstable)2.14.0-1

Notes

https://github.com/jpadilla/pyjwt/security/advisories/GHSA-jwrc-g2q2-pq5p
Fixed by: https://github.com/jpadilla/pyjwt/commit/8b4e233a22206b34ec1186e912e75c0b2396ac07 (2.14.0)

Search for package or bug name: Reporting problems