CVE-2026-128242: Compressed request bodies can exhaust memory before extractor limits apply
Published 2026-11-06 · Updated 2026-11-15 · Also known as GHSA-qph8-7859-gq2f, RUSTSEC-2026-0447, RUSTSEC-2026-0448
Summary
Compressed request bodies can be decompressed beyond memory limits before server-side restrictions are applied, leading to potential denial of service. Users of actix-http and actix-web should upgrade to the latest versions immediately.
Who is affected
This vulnerability affects applications using actix-http or actix-web that process compressed (gzip, deflate, Brotli, or Zstandard) payloads. Attackers can leverage the decompression process to force excessive memory allocation and CPU consumption, potentially crashing the service.
Exploitability
The vulnerability has an EPSS score of 0.009, indicating a low observed likelihood of exploitation in the wild. It is not listed on the CISA Known Exploited Vulnerabilities catalog, and no official CVSS vector or score has been provided.
Remediation
- Upgrade actix-http to version 3.20.1 or later.
- Upgrade actix-web to version 4.18.2 or later.
- Configure Decoder::limit() when using the decoder directly in custom implementations.
How to check your project
- Check Cargo.lock for actix-http versions prior to 3.20.1.
- Check Cargo.lock for actix-web versions prior to 4.18.2.
- Use 'cargo tree' or 'cargo audit' to identify dependencies matching the affected version ranges.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | actix-http |
>= 0.0.0-0, < 3.20.1 | 3.20.1 | cargo update -p actix-http --precise 3.20.1 |
| crates.io | actix-web |
>= 0.0.0-0, < 4.18.2 | 4.18.2 | cargo update -p actix-web --precise 4.18.2 |
FAQ
What specifically triggers this vulnerability?
It is triggered by sending untrusted compressed request or response bodies (gzip, deflate, Brotli, or Zstandard) to applications using the affected packages.
Is my application vulnerable if I do not use compression features?
The description states the issue affects applications with the corresponding compression feature enabled.
Has this vulnerability been actively exploited?
No, the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Original advisory description
References
- PACKAGE https://crates.io/crates/actix-web
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0447.html
- WEB https://github.com/actix/actix-web/commit/0d0be61bd757027bfcecbc53df1b7a600f21ecd0
- PACKAGE https://crates.io/crates/actix-http
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0448.html
- WEB https://github.com/actix/actix-web/commit/41b54d23ea04f66758c15de7e4ab18325cd25280
Source records: RUSTSEC-2026-0447, RUSTSEC-2026-0448 (OSV.dev) · EPSS by FIRST, 2026-11-26.