Medium severity · published Oct 22, 2025
CVE-2025-62706
Authlib is a Python library which builds OAuth and OpenID Connect servers
6.5
CVSS
0.5%
EPSS
No
On KEV
Description
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JWE zip=DEF path performs unbounded DEFLATE decompression. A very small ciphertext can expand into tens or hundreds of megabytes on decrypt, allowing an attacker who can supply decryptable tokens to exhaust memory and CPU and cause denial of service. This issue has been patched in version 1.6.5. Workarounds for this issue involve rejecting or stripping zip=DEF for inbound JWEs at the application boundary, forking and add a bounded decompression guard via decompressobj().decompress(data, MAX_SIZE)) and returning an error when output exceeds a safe limit, or enforcing strict maximum token sizes and fail fast on oversized inputs; combine with rate limiting.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AU
Authlib · Authlib
before 1.6.5 · source: NVD
Affected product
AU
Authlib
Authlib
More from Authlib
9.8
CVE-2026-104056
Authlib version 1.7.2 and below contains a vulnerability where discovery JSON metadata is cached without validation or issuer-origin binding
9.8
CVE-2026-96760
Authlib library contains a signature‑verification bypass vulnerability
9.8
CVE-2026-28802
Authlib: Setting `alg: none` and a blank signature appears to bypass signature verification
9.1
CVE-2026-27962
Authlib JWS JWK Header Injection: Signature Verification Bypass
8.8
CVE-2026-116672
Authlib RFC 7592 examples omit registration-access-token client binding