Denial of servicein Authlib.
No public exploit found; not on exploited lists.
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.
- Upgrade authlib to 1.6.5 or later.
- Upgrade authlib (PyPI) to 1.6.5 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 3 Oct 2025CVE ID reserved by GitHub_M.
- 10 Oct 2025Published in the CVE List.
- 3 Nov 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Authlib vulnerabilities
Same weakness: Improper input validation
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- lists.debian.org
Patchminder. CVE-2025-61920: Denial of service in Authlib. https://patchminder.com/cve/cve-2025-61920/ (accessed 5 December 2026).