CVE-2025-61920
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| — | Affected | — |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.6.0-1+deb13u1 |
| sid | Fixed | 1.6.5-1 |
| forky | Fixed | 1.6.5-1 |
| bullseye | Fixed | 0.15.4-1+deb11u1 |
| bookworm | Fixed | 1.2.0-1+deb12u1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | authlib | <1.6.5 | 1.6.5 |
References
- https://github.com/authlib/authlib/security/advisories/GHSA-pq5p-34cr-23v9
- https://nvd.nist.gov/vuln/detail/CVE-2025-61920
- https://github.com/authlib/authlib/commit/867e3f87b072347a1ae9cf6983cc8bbf88447e5e
- https://github.com/authlib/authlib
- https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html
- https://www.suse.com/security/cve/CVE-2025-61920.html
- https://security-tracker.debian.org/tracker/CVE-2025-61920
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.