SecurityContext

CVE-2025-62706: Authlib - Denial of Service

  • Cve: CVE-2025-62706
  • Name: Authlib - Denial of Service
  • 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.
  • Impact: Attackers can exhaust server memory and CPU, causing denial of service and service unavailability.
  • Remediation: Update to version 1.6.5 or later.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirements: Attacker must supply decryptable tokens
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00469
  • Epss percentile: 0.41375
  • Assignee: [email protected]
  • Published at: 2025-10-22T22:15:35Z
  • Age in days: 398
  • Modified at: 2026-10-19T13:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-62706
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption

Public exploits

UrlSourceAdded date
https://github.com/authlib/authlib/security/advisories/GHSA-g7f3-828f-7h7mnvd2025-10-22

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/authlib/authlib/commit/e0863d5129316b1790eee5f14cece32a03b8184dPatch
https://github.com/authlib/authlib/security/advisories/GHSA-g7f3-828f-7h7mExploit, Mitigation, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html

Products

ProductAffectedPlatform boundSourcesUrl
authlib:authlib< 1.6.5nonvd/v1/products/authlib/authlib

Projects

RepositoryLink kindsIndexedUrl
authlib/authlibcommit, package, security_advisoryyes/v1/repositories/authlib/authlib

Index

  • Repositories: 171
  • Repositories high signal: 113
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-10-22
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts