# CVE-2025-61920: Authlib is vulnerable to Denial of Service via Oversized JOSE Segments

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 1.6.5 (CNA); fix release not confirmed
- Status: published
- Published: 2025-10-10 · Modified: 2025-11-03
- Aliases: SUSE-SU-2025:3754-1, GHSA-pq5p-34cr-23v9, PYSEC-2026-1203, UBUNTU-CVE-2025-61920, DEBIAN-CVE-2025-61920, CGA-32fv-883g-h3ch, CGA-75vc-3369-j5xq, CGA-7w48-54q6-c9gg, CGA-jm4r-2vg6-hq75, openSUSE-SU-2025:15629-1
- Record: https://cvemate.com/vulnerability/CVE-2025-61920 · JSON: https://cvemate.com/vulnerability/CVE-2025-61920/json

## Description

```text
Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to version 1.6.5, Authlib’s JOSE implementation accepts unbounded JWS/JWT header and signature segments. A remote attacker can craft a token whose base64url‑encoded header or signature spans hundreds of megabytes. During verification, Authlib decodes and parses the full input before it is rejected, driving CPU and memory consumption to hostile levels and enabling denial of service. Version 1.6.5 patches the issue. Some temporary workarounds are available. Enforce input size limits before handing tokens to Authlib and/or use application-level throttling to reduce amplification risk.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.67%, percentile 53.376%, 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.6.1
- opensuse python-Authlib&distro=openSUSE Tumbleweed (openSUSE): \< 1.6.5-1.1
- suse python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP6 (SUSE Linux Enterprise): \< 1.3.1-150600.3.6.1
- suse python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP7 (SUSE Linux Enterprise): \< 1.3.1-150600.3.6.1

## References

- <https://github.com/authlib/authlib/security/advisories/GHSA-pq5p-34cr-23v9>
- <https://github.com/authlib/authlib/commit/867e3f87b072347a1ae9cf6983cc8bbf88447e5e>
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20253754-1/>
- <https://bugzilla.suse.com/1251921>
- <https://www.suse.com/security/cve/CVE-2025-61920>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-61920>
- <https://github.com/authlib/authlib>
- <https://pypi.org/project/authlib>
- <https://github.com/advisories/GHSA-pq5p-34cr-23v9>
- <https://ubuntu.com/security/CVE-2025-61920>
- <https://www.cve.org/CVERecord?id=CVE-2025-61920>
- <https://ubuntu.com/security/notices/USN-8065-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-61920>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/61xxx/CVE-2025-61920.json>

---

Data as of 2026-12-05T14:01:10.141Z. 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
