CVE-2025-61920

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:*

History

19 Oct 2026, 16:10

Type Values Removed Values Added
Summary
  • (es) Authlib es una biblioteca de Python que construye servidores OAuth y OpenID Connect. Antes de la versión 1.6.5, la implementación JOSE de Authlib acepta segmentos de encabezado y firma JWS/JWT ilimitados. Un atacante remoto puede crear un token cuyo encabezado o firma codificados en base64url abarca cientos de megabytes. Durante la verificación, Authlib decodifica y analiza la entrada completa antes de que sea rechazada, llevando el consumo de CPU y memoria a niveles hostiles y permitiendo la denegación de servicio. La versión 1.6.5 corrige el problema. Algunas soluciones temporales están disponibles. Imponga límites de tamaño de entrada antes de entregar tokens a Authlib y/o use la limitación a nivel de aplicación para reducir el riesgo de amplificación.

03 Nov 2025, 18:17

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html -
References () https://github.com/authlib/authlib/security/advisories/GHSA-pq5p-34cr-23v9 - Exploit, Vendor Advisory, Mitigation () https://github.com/authlib/authlib/security/advisories/GHSA-pq5p-34cr-23v9 - Exploit, Mitigation, Vendor Advisory

20 Oct 2025, 16:39

Type Values Removed Values Added
CPE cpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:*
First Time Authlib authlib
Authlib
References () https://github.com/authlib/authlib/commit/867e3f87b072347a1ae9cf6983cc8bbf88447e5e - () https://github.com/authlib/authlib/commit/867e3f87b072347a1ae9cf6983cc8bbf88447e5e - Patch
References () https://github.com/authlib/authlib/security/advisories/GHSA-pq5p-34cr-23v9 - () https://github.com/authlib/authlib/security/advisories/GHSA-pq5p-34cr-23v9 - Exploit, Vendor Advisory, Mitigation

10 Oct 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-10-10 20:15

Updated : 2026-10-19 16:10


NVD link : CVE-2025-61920

Mitre link : CVE-2025-61920

CVE.ORG link : CVE-2025-61920


JSON object : View

Products Affected

authlib

  • authlib
CWE
CWE-20

Improper Input Validation

CWE-400

Uncontrolled Resource Consumption

CWE-770

Allocation of Resources Without Limits or Throttling