CVE-2025-6176
JSON

7.5high

Brotli decompression bomb DoS in scrapy/scrapy

Severity
7.5high CVSS:3.0 by @huntr_ai
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
@huntr_ai
Also known as
GHSA-2qfp-q593-8484PYSEC-2026-1906PYSEC-2026-2401

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

Product or packageVersionsReported by
scrapy scrapy/scrapyfrom unspecified up to latestCVE List
brotli (PyPI)before 1.2.0GitHub Advisory Database, PyPA Advisory Database
scrapy (PyPI)before 2.13.4GitHub Advisory Database, PyPA Advisory Database

All scores

@huntr_ai7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-6176 changed 2025-10-31CVE Terms of Use
GitHub Advisory DatabaseGHSA-2qfp-q593-8484 changed 2026-09-10CC-BY-4.0
NVDCVE-2025-6176 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1906 changed 2026-07-13CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-2401 changed 2026-07-13CC-BY-4.0