PT-2025-41596 · Pypi+4 · Oauthlib+4
Al-Cybision
·
Published
2025-10-02
·
Updated
2026-03-29
·
CVE-2025-61920
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Authlib versions prior to 1.6.5
Description
Authlib, a Python library for building OAuth and OpenID Connect servers, has an issue in its JOSE implementation. It accepts JWS/JWT header and signature segments without size limits. An attacker can create a token with a very large base64url-encoded header or signature, potentially consuming excessive CPU and memory resources, leading to a denial of service. The library decodes and parses the entire input before rejecting it.
Recommendations
Update to Authlib version 1.6.5 or later.
Enforce input size limits before passing tokens to Authlib.
Implement application-level throttling to reduce amplification risk.
Exploit
Fix
DoS
Allocation of Resources Without Limits
Resource Exhaustion
RCE
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Oauthlib
Debian
Linuxmint
Red Os
Ubuntu