ADVISORIES

Vulnerability

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.

12 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • CGA-32fv-883g-h3ch
    CVE-2025-61920 Chainguard Updated 5 November 2026
  • CGA-75vc-3369-j5xq
    CVE-2025-61920 Chainguard Updated 5 November 2026
  • CGA-7w48-54q6-c9gg
    CVE-2025-61920 Chainguard Updated 5 November 2026
  • CGA-jm4r-2vg6-hq75
    CVE-2025-61920 Chainguard Updated 5 November 2026
  • DEBIAN-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…

    CVE-2025-61920 Debian Updated 23 October 2026
  • DLA-4352-1

    python-authlib - security update

    CVE-2024-37568CVE-2025-59420CVE-2025-61920CVE-2025-62706 Debian Updated 20 November 2026
  • GHSA-pq5p-34cr-23v9

    Authlib is vulnerable to Denial of Service via Oversized JOSE Segments

    High CVE-2025-61920 PyPI Updated 10 September 2026
  • PYSEC-2026-1203

    Authlib is vulnerable to Denial of Service via Oversized JOSE Segments

    CVE-2025-61920 PyPI Updated 7 July 2026
  • SUSE-SU-2025:3754-1

    Security update for python-Authlib

    CVE-2025-61920 SUSEopenSUSE Updated 4 February 2026
  • UBUNTU-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…

    CVE-2025-61920 Ubuntu Updated 16 July 2026
  • USN-8065-1

    python-authlib vulnerabilities

    CVE-2024-37568CVE-2025-59420CVE-2025-61920CVE-2025-62706 Ubuntu Updated 27 April 2026
  • openSUSE-SU-2025:15629-1

    python311-Authlib-1.6.5-1.1 on GA media

    CVE-2025-61920 openSUSE Updated 23 March 2026

References