Vulnerability

CVE-2025-61920

highCVSS 3.1 7.5Published 10 Oct 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Authlib authlib

Weakness type

References

  • github.com /authlib/authlib/commit/867e3f87b072347a1ae9cf6983cc8bbf884…
  • github.com /authlib/authlib/security/advisories/GHSA-pq5p-34cr-23v9
  • lists.debian.org /debian-lts-announce/2025/10/msg00032.html

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning