Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT header and signature segments. A remote attacker can craft a token whose base64url‑encoded header or signature spans hundreds of megabytes. During verification, Authlib decodes and parses the full input before it is rejected, driving CPU and memory consumption to hostile levels and enabling denial of service. Version 1.6.5 patches the issue. Some temporary workarounds are available. Enforce input size limits before handing tokens to Authlib and/or use application-level throttling to reduce amplification risk.
Metrics
Affected Vendors & Products
References
History
Fri, 10 Oct 2025 21:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Fri, 10 Oct 2025 19:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Description | Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT header and signature segments. A remote attacker can craft a token whose base64url‑encoded header or signature spans hundreds of megabytes. During verification, Authlib decodes and parses the full input before it is rejected, driving CPU and memory consumption to hostile levels and enabling denial of service. Version 1.6.5 patches the issue. Some temporary workarounds are available. Enforce input size limits before handing tokens to Authlib and/or use application-level throttling to reduce amplification risk. | |
Title | Authlib is vulnerable to Denial of Service via Oversized JOSE Segments | |
Weaknesses | CWE-20 CWE-400 CWE-770 |
|
References |
| |
Metrics |
cvssV3_1
|

Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-10-10T20:47:08.736Z
Reserved: 2025-10-03T22:21:59.615Z
Link: CVE-2025-61920

Updated: 2025-10-10T20:47:02.479Z

Status : Received
Published: 2025-10-10T20:15:37.893
Modified: 2025-10-10T20:15:37.893
Link: CVE-2025-61920

No data.

No data.