CVE-2025-6176

HIGH7.5EPSS 0.04%

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

Published: 10/31/2025Modified: 2/4/2026
Also known as:GHSA-2qfp-q593-8484CGA-h529-4c93-p7ph

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.

Affected packages (3)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1HIGH7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References (11)