Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. authlib
  4. ›
  5. GHSA-g7f3-828f-7h7m

GHSA-g7f3-828f-7h7m: Authlib : JWE zip=DEF decompression bomb enables DoS

October 10, 2025

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.

References

  • github.com/advisories/GHSA-g7f3-828f-7h7m
  • github.com/authlib/authlib
  • github.com/authlib/authlib/commit/e0863d5129316b1790eee5f14cece32a03b8184d
  • github.com/authlib/authlib/security/advisories/GHSA-g7f3-828f-7h7m

Code Behaviors & Features

Detect and mitigate GHSA-g7f3-828f-7h7m with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.6.5

Fixed versions

  • 1.6.5

Solution

Upgrade to version 1.6.5 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/authlib/GHSA-g7f3-828f-7h7m.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 17 Oct 2025 12:18:02 +0000.