Improper handling of highly compressed data in scrapy - #VU162977
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to cause denial of service in a Scrapy crawler through excessive CPU and memory usage.
The vulnerability exists due to unbounded decoding of chained content codings by Scrapy's HttpCompressionMiddleware when processing a response with a Content-Encoding header. An unauthenticated remote attacker can serve a response from a server the crawler visits with thousands of chained codings and a repeatedly compressed body, forcing repeated decompression.