CVE-2025-62706: Python authlib · Prior to version 1.6.5, Authlib’s JWE zip=DEF path performs unbounded DEFLATE
Affects python-authlibSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium · fixed in 0.15.5-1ubuntu0.1~esm1 : update python-authlib when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.15.5-1ubuntu0.1~esm1, 1.3.0-1ubuntu0.1~esm1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu python-authlib to 0.15.5-1ubuntu0.1~esm1 (package) or 1.3.0-1ubuntu0.1~esm1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 26.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10python-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSpython-authlibpkg:deb/ubuntu/python-authlib?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-62706 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-62706 (opens in a new tab)
- github.com/authlib/authlib/security/advisories/GHSA-g7f3-828f-7h7m (opens in a new tab)
- github.com/authlib/authlib/commit/e0863d5129316b1790eee5f14cece32a03b8184d (opens in a new tab)
- ubuntu.com/security/notices/USN-8065-1 (opens in a new tab)