CVE-2025-6176
Brotli decompression bomb DoS in scrapy/scrapy
Also known as GHSA-2qfp-q593-8484, PYSEC-2026-1906, PYSEC-2026-2401
Mitigation
- Upgrade brotli to 1.2.0 or later.
- Upgrade scrapy to 2.13.4 or later.
Who should check
- Projects that depend on PyPI package brotli (< 1.2.0)
- Projects that depend on PyPI package scrapy (< 2.13.4)
- Anyone running scrapy/scrapy >= unspecified, <= latest
Vulnerability facts
- Affected
- brotli < 1.2.0; scrapy < 2.13.4
- Fixed in
- 1.2.0, 2.13.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.0, CNA)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.71% chance of exploitation in 30 days (percentile 49, 2026-11-26)
- CWE
- CWE-400
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI brotli | < 1.2.0 | 1.2.0 | osv |
| PyPI scrapy | < 2.13.4 | 2.13.4 | osv |
| scrapy/scrapy | >= unspecified, <= latest | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-6176. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-6176.md Affected: brotli < 1.2.0; scrapy < 2.13.4 Fixed in: 1.2.0, 2.13.4 Steps: 1. Search this machine and project for brotli (PyPI), scrapy (PyPI), scrapy/scrapy: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
FAQ
Is CVE-2025-6176 being exploited?
There is no confirmed exploitation: CVE-2025-6176 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.71% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-6176?
High: CVSS 7.5 (v3.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-6176?
brotli < 1.2.0; scrapy < 2.13.4.
Is there a fix for CVE-2025-6176?
Yes. Fixed in 1.2.0, 2.13.4. Upgrade brotli to 1.2.0 or later. Upgrade scrapy to 2.13.4 or later.
How do I check if I'm affected by CVE-2025-6176?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.