CVE-2025-61920CWE-20CWE-400CWE-770denial-of-service

CVE-2025-61920

High · published October 11, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
50.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00638 · 50.0th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-400 · Uncontrolled Resource Consumption; CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2025-10-11T00:15Z
Affected products (1)
ProductVersionsFixed in
authlib/authlib< 1.6.51.6.5
References (3)
EPSS history
Timeline
  • 10 OCT 19:25Z
    Authlib is vulnerable to Denial of Service via Oversized JOSE Segments
    cvelistv5