CVE-2025-6176
HIGH 7.5CVSS 3.0Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation
Scrapy versions up to 2.13.2 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.
- Published
- 31 Oct 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Deferred
- Weakness
- CWE-400
- Also known as
- GHSA-2qfp-q593-8484PYSEC-2026-1906PYSEC-2026-2401
- Sources
- NVDJSONOSV GHSA-2qfp-q593-8484JSONOSV PYSEC-2026-1906JSONOSV PYSEC-2026-2401JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | brotli | < 1.2.0 | 1.2.0 |
| OSV | PyPI | scrapy | < 2.13.4 | 2.13.4 |
References
- https://huntr.com/bounties/2c26a886-5984-47ee-a421-0d5fe1344eb0 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-6176 · ADVISORY
- https://github.com/google/brotli/issues/1327 · WEB
- https://github.com/google/brotli/issues/1375 · WEB
- https://github.com/google/brotli/pull/1234 · WEB
- https://github.com/scrapy/scrapy/pull/7134 · WEB
- https://github.com/google/brotli/commit/67d78bc41db1a0d03f2e763497748f2f69946627 · WEB
- https://github.com/scrapy/scrapy/commit/14737e91edc513967f516fc839cc9c8a4f8d91da · WEB, FIX
- https://github.com/google/brotli · PACKAGE
- https://github.com/google/brotli/releases/tag/v1.2.0 · WEB
- https://pypi.org/project/scrapy · PACKAGE
- https://github.com/advisories/GHSA-2qfp-q593-8484 · ADVISORY
- https://pypi.org/project/brotli · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 31 Oct 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Oct 2025)