NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-6176: Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation

highCVSS 3.0 7.5GHSA-2qfp-q593-8484

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.

Published Oct 31, 2025 · Updated Nov 17, 2025

Affected packages

brotli

Ecosystem
PyPI
Affected
<= 1.1.0
Fixed in
1.2.0
Check
pip show brotli

Scrapy

Ecosystem
PyPI
Affected
<= 2.13.3
Fixed in
2.13.4
Check
pip show Scrapy

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to smithcoin, Cycloctane.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries