CVE-2025-6176scrapy/scrapy
High 7.5 No auth needed
Follow: this CVE · scrapy · scrapy/scrapy We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Oct 31, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for scrapy/scrapy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | brotli |
< 1.2.0 |
1.2.0 |
pip install "brotli>=1.2.0" |
| PyPI | brotli |
< 1.2.0 |
1.2.0 |
pip install "brotli>=1.2.0" |
| PyPI | scrapy |
< 2.13.4 |
2.13.4 |
pip install "scrapy>=2.13.4" |
| PyPI | scrapy |
< 2.13.4 |
2.13.4 |
pip install "scrapy>=2.13.4" |
Per OSV / GitHub Advisories (GHSA-2qfp-q593-8484, PYSEC-2026-2401, PYSEC-2026-1906). Check the version in your lockfile before upgrading.
Affected products
- scrapy · scrapy/scrapy
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for python-Brotli · SUSE · SUSE-SU-2026:24597-1 · Oct 29, 2026 Critical
- Security update for python-Brotli · SUSE · openSUSE-SU-2026:22183-1 · Oct 29, 2026 Critical
- Red Hat Security Advisory: Satellite 6.16.7 Async Update · Red Hat · RHSA-2026:5971 · Mar 27, 2026 High
- Red Hat Security Advisory: Satellite 6.17.7 Async Update · Red Hat · RHSA-2026:5970 · Mar 27, 2026 High
- python311-py7zr-1.1.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10227-1 · Feb 19, 2026 High
- Red Hat Security Advisory: brotli security update · Red Hat · RHSA-2026:2455 · Feb 11, 2026 High
Also: Red Hat (+11)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.