Brotli is vulnerable to a denial of service (DoS) attack due to decompression
High severity
GitHub Reviewed
Published
Oct 31, 2025
to the GitHub Advisory Database
•
Updated Oct 31, 2025
Description
Published by the National Vulnerability Database
Oct 31, 2025
Published to the GitHub Advisory Database
Oct 31, 2025
Reviewed
Oct 31, 2025
Last updated
Oct 31, 2025
Brotli versions up to 1.1.0 are vulnerable to a denial of service (DoS) attack due to decompression. This issue has been patched in Brotli version 1.2.0.
Additionally, this affects users who implement the Brotli decompression with Scrapy versions up to 2.13.2, leaving them vulnerable to a denial of service (DoS) attack. 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.
References