CVE-2025-61920

HIGH CVSS 3.1: 7.5 EPSS 0.64%
Updated Oct 19, 2026
Authlib
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions before 1.6.5
Fixed In 1.6.5
Type CWE-400 (Uncontrolled Resource Consumption), CWE-20 (Improper Input Validation), CWE-770 (Allocation Without Limits)
Vendor Authlib
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Authlib Authlib
cpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:*
— 1.6.5