# CVE-2025-6176: Brotli decompression bomb DoS in scrapy/scrapy

- Severity: High 7.5 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2025-10-31T00:00:21.219Z
- Modified: 2026-09-10T03:50:29.153Z
- Also known as: GHSA-2qfp-q593-8484, PYSEC-2026-1906, PYSEC-2026-2401
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- scrapy scrapy/scrapy: from unspecified up to latest
- brotli (PyPI): before 1.2.0
- scrapy (PyPI): before 2.13.4

## Every score

- @huntr_ai: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.0 7.5 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## 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> (fix, web)
- <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)

## Sources

- CVE List: [CVE-2025-6176](https://www.cve.org/CVERecord?id=CVE-2025-6176), CVE Terms of Use, modified 2025-10-31
- GitHub Advisory Database: [GHSA-2qfp-q593-8484](https://github.com/advisories/GHSA-2qfp-q593-8484), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-6176](https://nvd.nist.gov/vuln/detail/CVE-2025-6176), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1906](https://osv.dev/vulnerability/PYSEC-2026-1906), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-2401](https://osv.dev/vulnerability/PYSEC-2026-2401), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2025-6176 · Whole record: https://cve.day/CVE-2025-6176.json · Rebuilt by cve.day 2026-11-25T22:59:07.071Z
