StraitOfVuln
Latest / CVE-2025-62706

CVE-2025-62706

MediumCVSS 6.5 (v3.1)Modified
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2025-62706
Published / updated
22 Oct 2025, 22:15 UTC · last modified 19 Oct 2026, 13:10 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/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.47% probability of exploitation in the next 30 days · 42% 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