CVE-2025-62706: authlib Uncontrolled Resource Consumption
Vulnerability summary
CVE-2025-62706 is a medium (CVSS 6.5) Uncontrolled Resource Consumption vulnerability in authlib. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 22-10-2025PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
+0.03 pp
From 0.43% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundAuthlib
Maturity: poc
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Chainguard2 products
- mlflow< 3.4.0-r2
- mlflow-iamguarded-compat< 3.4.0-r2
Suse2 products
- python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP6< 1.3.1-150600.3.9.1
- python-Authlib&distro=SUSE Linux Enterprise Module for Python 3 15 SP7< 1.3.1-150600.3.9.1
Wolfi2 products
- mlflow< 3.4.0-r2
- mlflow-iamguarded-compat< 3.4.0-r2
Authlib1 product
- authlib< 1.6.5
Debian1 product
- python-authlib< 1.2.0-1+deb12u1 | < 1.6.0-1+deb13u1 | < 1.6.5-1
Opensuse1 product
- python-Authlib&distro=openSUSE Leap 15.6< 1.3.1-150600.3.9.1
PyPI1 product
- authlib< 1.6.5
Ubuntu1 product
- python-authlib< 0.15.5-1ubuntu0.1~esm1 | < 1.3.0-1ubuntu0.1~esm1 | All versions (No fix recorded)
8 vendors · 11 products
References
15 links- github.com/authlib/authlib/security/advisories/GHSA-g7f3-828f-7h7mX Refsource CONFIRMWEBREPORTAdvisoryExploitMitigationThird Party Advisory
- github.com/authlib/authlib/commit/e0863d5129316b1790eee5f14cece32a03b8184dX Refsource MISCWEBREPORTFIXPatch
- github.com/authlib/authlibPACKAGE
- pypi.org/project/authlibPACKAGE