6.5

CVE-2025-62706: authlib Uncontrolled Resource Consumption

CVSS: 6.5v3.1MediumModified
AliasesSUSE-SU-2025:3842-1GHSA-g7f3-828f-7h7mPYSEC-2026-1202
Published 22-10-2025Last modified 03-11-2025

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.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.46%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 22-10-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last 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

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

19-09-202619-10-2026
EPSS score
0.46%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Authlib

    Maturity: poc

Weaknesses

CWE · root cause

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
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
Show all 15 references