SB20261127406 - Ubuntu update for pyjwt
Published: November 27, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Uncontrolled Recursion (CVE-ID: CVE-2026-102265)
CWE-ID: CWE-674 - Uncontrolled Recursion
CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to uncontrolled recursion in the PyJWS._load() header JSON parsing path when processing a compact token with a deeply nested JSON header. A remote attacker can send an unsigned crafted token to cause a denial of service.
The header is parsed before signature verification, and the resulting exception can bypass applications' normal PyJWT error handling.
2) Modification of assumed-immutable data (CVE-ID: CVE-2026-103001)
CWE-ID: CWE-471 - Modification of Assumed-Immutable Data
CVSSv4: 8.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass claim verification.
The vulnerability exists due to modification of assumed-immutable data in PyJWT._merge_options() when reusing a mutable options dictionary across decode() or decode_complete() calls with different verification settings. A remote attacker can cause an application to accept a signed token with expired or mismatched registered claims as valid to bypass claim verification.
Signature verification is unaffected; exploitation requires reuse of the same options dictionary after a call with signature verification disabled.
Remediation
Install update from vendor's website.