# CVE-2025-62706: Authlib : JWE zip=DEF decompression bomb enables DoS

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-22 · Modified: 2025-11-03
- Aliases: SUSE-SU-2025:3842-1, GHSA-g7f3-828f-7h7m, PYSEC-2026-1202, UBUNTU-CVE-2025-62706, DEBIAN-CVE-2025-62706, CGA-375j-4x8q-7c37, CGA-4px8-rcx8-p3qj, CGA-6gpw-7phx-wm8f, CGA-738j-4vfr-8r9w
- Record: https://cvemate.com/vulnerability/CVE-2025-62706 · JSON: https://cvemate.com/vulnerability/CVE-2025-62706/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.469%, percentile 42.234%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- chainguard mlflow (Chainguard): \< 3.4.0-r2
- chainguard mlflow-iamguarded-compat (Chainguard): \< 3.4.0-r2
- wolfi mlflow (Wolfi): \< 3.4.0-r2
- wolfi mlflow-iamguarded-compat (Wolfi): \< 3.4.0-r2
- authlib authlib: \< 1.6.5
- debian python-authlib (Debian): \< 1.2.0-1+deb12u1 \| \< 1.6.0-1+deb13u1 \| \< 1.6.5-1
- ubuntu python-authlib (Ubuntu): All versions (No fix recorded) \| \< 0.15.5-1ubuntu0.1~esm1 \| \< 1.3.0-1ubuntu0.1~esm1
- PyPI authlib (PyPI): \< 1.6.5
- opensuse python-Authlib&distro=openSUSE Leap 15.6 (openSUSE): \< 1.3.1-150600.3.9.1
- suse python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP6 (SUSE Linux Enterprise): \< 1.3.1-150600.3.9.1
- suse python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP7 (SUSE Linux Enterprise): \< 1.3.1-150600.3.9.1

## References

- <https://github.com/authlib/authlib/security/advisories/GHSA-g7f3-828f-7h7m>
- <https://github.com/authlib/authlib/commit/e0863d5129316b1790eee5f14cece32a03b8184d>
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20253842-1/>
- <https://bugzilla.suse.com/1252504>
- <https://www.suse.com/security/cve/CVE-2025-62706>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62706>
- <https://github.com/authlib/authlib>
- <https://pypi.org/project/authlib>
- <https://github.com/advisories/GHSA-g7f3-828f-7h7m>
- <https://ubuntu.com/security/CVE-2025-62706>
- <https://www.cve.org/CVERecord?id=CVE-2025-62706>
- <https://ubuntu.com/security/notices/USN-8065-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-62706>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62706.json>

---

Data as of 2026-12-05T14:01:41.006Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
