PT-2026-102373 · Pypi · Pyjwt

·

CVE-2026-102265

·

Published

2026-09-09

·

Updated

2026-10-01

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions PyJWT versions 2.13.0 through 2.13.x
Description The PyJWS. load function in jwt/api jws.py fails to catch RecursionError when processing a deeply nested token header via json.loads. Because the parser only catches ValueError, the RecursionError bypasses the standard error handling hierarchy. This allows an unauthenticated attacker to send a malformed token that triggers a request-level failure, resulting in an HTTP 500 error.
Recommendations Update to version 2.14.0.

Exploit

Fix

Uncontrolled Recursion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-15804
CVE-2026-102265
GHSA-8WJV-2P76-3863
PYSEC-2026-4142

Affected Products

Pyjwt