SEVERITY NOT PROVIDED EPSS 1.0% · 60th percentile

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

How to check your project

Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
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
The `encoding::Decoder` stream can expand compressed input into a large output buffer before a caller can enforce its body size limit. An attacker who controls a compressed request or response can cause excessive memory allocation and CPU use, resulting in denial of service. This affects applications that decode untrusted gzip, deflate, Brotli, or Zstandard bodies with the corresponding compression feature enabled. Upgrade to actix-http 3.20.1 or later and configure `Decoder::limit()` when using the decoder directly. Actix Web users must also upgrade to actix-web 4.18.2 or later so that extractors pass their limits to the decoder.

References

Source records: RUSTSEC-2026-0447, RUSTSEC-2026-0448 (OSV.dev) · EPSS by FIRST, 2026-11-26.