cve.bz

CVE-2025-62706 authlib authlib: Uncontrolled Resource Consumption

6.5 mediumExploit referenceEPSS 0.5%Fix available

Medium (6.5) in authlib authlib. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in authlib 1.6.5.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-10-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-62706 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-62706?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-62706?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-62706 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
authlib:authlibbefore 1.6.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g7f3-828f-7h7mPyPIauthlib<1.6.51.6.5
PYSEC-2026-1202PyPIauthlib<1.6.51.6.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-authlib0.15.4-1+deb11u1DLA-4352-1
Debian12python-authlib1.2.0-1+deb12u1DEBIAN-CVE-2025-62706
Debian13python-authlib1.6.0-1+deb13u1DEBIAN-CVE-2025-62706
Debian14python-authlib1.6.5-1DEBIAN-CVE-2025-62706
Ubuntu25.10, Pro:26.04:LTSpython-authlibno fix listedUBUNTU-CVE-2025-62706
UbuntuPro:22.04:LTSpython-authlib0.15.5-1ubuntu0.1~esm1UBUNTU-CVE-2025-62706 USN-8065-1
UbuntuPro:24.04:LTSpython-authlib1.3.0-1ubuntu0.1~esm1UBUNTU-CVE-2025-62706 USN-8065-1
SUSELinux Enterprise Module for Python 3 15 SP6, Linux Enterprise Module for Python 3 15 SP7python-Authlib1.3.1-150600.3.9.1SUSE-SU-2025:3842-1
openSUSELeap 15.6python-Authlib1.3.1-150600.3.9.1SUSE-SU-2025:3842-1
openSUSETumbleweedpython-Authlib1.9.1-1.1openSUSE-SU-2026:12390-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/lightspeed-chatbot-rhel9:1768915992Fixed 2026-01-29RHSA-2026:1596
Red Hat Satellite 6.18satellite/foreman-mcp-server-rhel9:1767868827Fixed 2026-01-14RHSA-2026:0629
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-chatbot-rhel8Affected
Red Hat Quay 3quay/quay-rhel8Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-62706.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON