7.5high
Brotli decompression bomb DoS in scrapy/scrapy
- Severity
- 7.5high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-2qfp-q593-8484PYSEC-2026-1906PYSEC-2026-2401
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| scrapy scrapy/scrapy | from unspecified up to latest | CVE List |
| brotli (PyPI) | before 1.2.0 | GitHub Advisory Database, PyPA Advisory Database |
| scrapy (PyPI) | before 2.13.4 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| @huntr_ai | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6176 changed 2025-10-31 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2qfp-q593-8484 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2025-6176 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1906 changed 2026-07-13 | CC-BY-4.0 |
| PyPA Advisory Database | PYSEC-2026-2401 changed 2026-07-13 | CC-BY-4.0 |