StraitOfVuln
Latest / CVE-2025-61920

CVE-2025-61920

HighCVSS 7.5 (v3.1)Modified
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2025-61920
Published / updated
10 Oct 2025, 20:15 UTC · last modified 19 Oct 2026, 16:10 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · Attack vector: Network
Affected vendor
Affected products
Authlib
Affected versions
Authlib: < 1.6.5
Fixed versions
authlib 1.6.5
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.67% probability of exploitation in the next 30 days · 53% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (authlib 1.6.5) per the vendor advisory.
Source (CNA)
security-advisories@github.com