Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. scrapy
  4. ›
  5. CVE-2025-6176

CVE-2025-6176: Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation

October 31, 2025 (updated November 17, 2025)

Scrapy versions up to 2.13.3 are vulnerable to a denial of service (DoS) attack due to a flaw in its brotli decompression implementation. The protection mechanism against decompression bombs fails to mitigate the brotli variant, allowing remote servers to crash clients with less than 80GB of available memory. This occurs because brotli can achieve extremely high compression ratios for zero-filled data, leading to excessive memory consumption during decompression. Mitigation for this vulnerability needs security enhancement added in brotli v1.2.0.

References

  • github.com/advisories/GHSA-2qfp-q593-8484
  • github.com/google/brotli
  • github.com/google/brotli/commit/67d78bc41db1a0d03f2e763497748f2f69946627
  • github.com/google/brotli/issues/1327
  • github.com/google/brotli/issues/1375
  • github.com/google/brotli/pull/1234
  • github.com/google/brotli/releases/tag/v1.2.0
  • github.com/scrapy/scrapy/commit/14737e91edc513967f516fc839cc9c8a4f8d91da
  • github.com/scrapy/scrapy/pull/7134
  • huntr.com/bounties/2c26a886-5984-47ee-a421-0d5fe1344eb0
  • nvd.nist.gov/vuln/detail/CVE-2025-6176

Code Behaviors & Features

Detect and mitigate CVE-2025-6176 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 2.13.4

Fixed versions

  • 2.13.4

Solution

Upgrade to version 2.13.4 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/scrapy/CVE-2025-6176.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 06 Dec 2025 12:17:52 +0000.