Technical impact
actix-http and actix-web contain an unbounded decompression vulnerability in the encoding::Decoder component (CWE-409). An attacker can send a small, highly compressed request body—using gzip, deflate, Brotli, or zstd—causing the server to decompress it into a much larger payload. This leads to excessive consumption of memory and CPU resources, effectively denying service for legitimate requests.
Affected Systems
The vulnerability affects the actix‑http crate in all versions prior to 3.20.1 and the actix‑web crate in all versions prior to 4.18.2. Applications that use the JSON, Form, Bytes, or String body extractors, or awc clients that receive compressed content, are subject to the attack. The operating environment is any Rust application serving HTTP traffic that depends on these crates.
Risk and Exploitability
The CVSS score of 8.7 classifies the flaw as high severity, while the EPSS score of less than 1% indicates a very low current exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, the likely attack vector is remote network traffic targeting HTTP endpoints. An attacker can repeatedly send specially crafted, highly compressed request bodies to exhaust the target’s memory and CPU, triggering a denial of service that affects the availability of the application process.