CVE-2025-62706: Authlib · JWE zip=DEF decompression bomb enables DoS
Affects kaskadeSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium : upgrade to 4.0.5_4 when convenient.
Data as of 26 Nov 2026, 21:22 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.5_4, 1.6.5
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 13 Aug 2026
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 Oct 2026.
What to do
Upgrade kaskade to 4.0.5_4; authlib to 1.6.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewkaskadepkg:brew/kaskadeOther threats | Affected
| Fixed in
|
PyPIauthlibpkg:pypi/authlibOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fixed version is deployed, applications should reject or strip JWE tokens with zip=DEF compression. Implementations can add a maximum decompression output size limit to prevent unbounded expansion, similar to the approach used by the joserfc project. Enforce strict maximum token sizes and apply rate limiting to reduce risk. The issue is fixed in Authlib version 4.0.5_4; upgrading to this version or later is recommended.
Description
Authlib's JWE implementation with zip=DEF (DEFLATE) decompression performs unbounded decompression without output size limits. This allows a crafted small ciphertext to decompress into very large plaintexts, causing high memory and CPU usage leading to denial of service. The vulnerability affects services that decrypt JWE tokens with zip=DEF where attackers can supply decryptable tokens. A fix is available in Authlib version 4.0.5_4.
References
- github.com/authlib/authlib/security/advisories/GHSA-g7f3-828f-7h7m (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-62706 (opens in a new tab)
- github.com/authlib/authlib/commit/e0863d5129316b1790eee5f14cece32a03b8184d (opens in a new tab)
- github.com/authlib/authlib (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/10/msg00032.html (opens in a new tab)