THREAT OPS › Threat News › [GHSA] GHSA-jwrc-g2q2-pq5p (medium) — PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
[GHSA] GHSA-jwrc-g2q2-pq5p (medium) — PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
GHSA-jwrc-g2q2-pq5p Severity: medium CVE: CVE-2026-102270
PyJWT: ReDoS vulnerability when calling the `is_pem_format` function.
### Summary There is a Re-DoS vulnerability in the `is_pem_format` function which results in a intesive CPU usage if an attacker is been able to provide a custom certificate.
### Details The problem is that the lazy quantifier `.+?` will always first try to match as l
Indicators of compromise
- 8b4e233a22206b34ec1186e912e75c0b2396ac07sha1
- CVE-2026-102270cve
Original source: https://github.com/advisories/GHSA-jwrc-g2q2-pq5p