All reports
High

Scrapy is vulnerable to a denial of service (DoS) attack due to flaws in brotli decompression implementation

Affected versions

Version ranges need review.

Affected versions
<1.2.0
Fixed version
1.2.0
Affected versions
<= 1.1.0
Fixed version
1.2.0
Affected versions
<2.13.4
Fixed version
2.13.4
Affected versions
<= 2.13.3
Fixed version
2.13.4
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2025-6176

Probability of exploitation in the next 30 days: 0.53%

FIRST EPSS · 2026-11-20

Description

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.

Links

Credits

  • smithcoin
  • Cycloctane