CVE-2025-61920
published high CVSS 3.1 · 7.5Authlib is vulnerable to Denial of Service via Oversized JOSE Segments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| authlib | — | authlib< 1.6.5 | Affected | Not stated | GitHub_M |
| Debian | bullseye | python-authlib | Advisory build | 0.15.4-1+deb11u1 | DLA-4352-1 |
| SUSE / openSUSE | SLE-15-SP6 | python311-Authlibnoarch | Advisory build | 1.3.1-150600.3.6.1 | SUSE-SU-2025:3754-1 |
| Ubuntu | jammy | python-authlib | Advisory build | 0.15.5-1ubuntu0.1~esm1 | USN-8065-1 |
| SUSE / openSUSE | SLE-15-SP7 | python311-Authlibnoarch | Advisory build | 1.3.1-150600.3.6.1 | SUSE-SU-2025:3754-1 |
| SUSE / openSUSE | SLE-3-SP6 | python311-Authlibnoarch | Advisory build | 1.3.1-150600.3.6.1 | SUSE-SU-2025:3754-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-Authlibnoarch | Advisory build | 1.3.1-150600.3.6.1 | SUSE-SU-2025:3754-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | python311-Authlibnoarch | Advisory build | 1.3.1-150600.3.6.1 | SUSE-SU-2025:3754-1 |
Show 15 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Authlibaarch64 | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Authlibppc64le | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Authlibs390x | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-Authlibx86_64 | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Authlibaarch64 | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Authlibppc64le | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Authlibs390x | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-Authlibx86_64 | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Authlibaarch64 | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Authlibppc64le | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Authlibs390x | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Authlibx86_64 | Advisory build | 1.6.5-1.1 | OPENSUSE-SU-2025:15629-1 |
| Ubuntu | jammy | python3-authlib | Advisory build | 0.15.5-1ubuntu0.1~esm1 | USN-8065-1 |
| Ubuntu | noble | python-authlib | Advisory build | 1.3.0-1ubuntu0.1~esm1 | USN-8065-1 |
| Ubuntu | noble | python3-authlib | Advisory build | 1.3.0-1ubuntu0.1~esm1 | USN-8065-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| authlib | authlib | < 1.6.5 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-20 CWE-20: Improper Input Validation
- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
3Provider assertions
3GitHub_M · cna
Authlib is vulnerable to Denial of Service via Oversized JOSE Segments
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fef2afe5c5890aca7d92fa9606b221231c658174fe7de715b09ac7894c3ab36d
- Ingested
- 23 Sep 2026, 08:55:13 UTC
- Source record
- Official CVE record