ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2025-61920

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:Pro:22.04:LTSpython-authlib
All versions before 0.15.5-1ubuntu0.1~esm1 (fixed in 0.15.5-1ubuntu0.1~esm1)
Ubuntu:Pro:24.04:LTSpython-authlib
All versions before 1.3.0-1ubuntu0.1~esm1 (fixed in 1.3.0-1ubuntu0.1~esm1)
Ubuntu:25.10python-authlib
All versions, no fix listed
Ubuntu:Pro:26.04:LTSpython-authlib
All versions, no fix listed

References