CVE-2025-61920: Python authlib · Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT
Affects python-authlibSource GCVE Database
Not known to be exploited · CVSS 7.5 High · fixed in 0.15.5-1ubuntu0.1~esm1 : patch python-authlib soon.
Data as of 24 Nov 2026, 20:10 UTC
- Patch
- Available – fixed in 0.15.5-1ubuntu0.1~esm1, 1.3.0-1ubuntu0.1~esm1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu python-authlib to 0.15.5-1ubuntu0.1~esm1 (package) or 1.3.0-1ubuntu0.1~esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 26.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10python-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-61920 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-61920 (opens in a new tab)
- github.com/authlib/authlib/security/advisories/GHSA-pq5p-34cr-23v9 (opens in a new tab)
- github.com/authlib/authlib/commit/867e3f87b072347a1ae9cf6983cc8bbf88447e5e (opens in a new tab)
- ubuntu.com/security/notices/USN-8065-1 (opens in a new tab)