Allocation of Resources Without Limits or Throttling Affecting authlib package, versions [,1.6.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.15% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-AUTHLIB-13535080
  • published12 Oct 2025
  • disclosed10 Oct 2025
  • creditMuhammad Noman Ilyas

Introduced: 10 Oct 2025

NewCVE-2025-61920  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade authlib to version 1.6.5 or higher.

Overview

authlib is a library in building OAuth and OpenID Connect servers.

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the extract_segment and extract_header processes. An unauthenticated attacker can exhaust system resources and disrupt service availability by submitting specially crafted tokens with excessively large base64url-encoded header or signature segments.

Workaround

This vulnerability can be mitigated by enforcing input size limits before processing tokens and applying application-level throttling to reduce amplification risk.

CVSS Base Scores

version 4.0
version 3.1