8.7high
actix-http before 3.20.1 and actix-web before 4.18.2 Decompression Bomb DoS via encoding::Decoder
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.93% (higher than 61% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- RUSTSEC-2026-0447GHSA-qph8-7859-gq2fRUSTSEC-2026-0448
Description
actix-http before 3.20.1 and actix-web before 4.18.2 contain an unbounded decompression vulnerability in encoding::Decoder that lets remote attackers exhaust memory and CPU via compressed bodies. Attackers can send small highly compressed gzip, deflate, Brotli or zstd request bodies to Json, Form, Bytes or String extractors, or serve them to awc clients, causing denial of service.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| actix actix-http | before 3.20.1 | CVE List |
| actix actix-web | before 4.18.2 | CVE List |
| actix-web (crates.io) | from 0.0.0-0 before 4.18.2 | RustSec Advisory Database |
| actix-http (crates.io) | from 0.0.0-0 before 3.20.1 | RustSec Advisory Database |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
actix-http before 3.20.1 and actix-web before 4.18.2 contain an unbounded decompression vulnerability in encoding::Decoder that lets remote attackers exhaust memory and CPU via compressed bodies. Attackers can send small highly compressed gzip, deflate, Brotli or zstd request bodies to Json, Form, Bytes or String extractors, or serve them to awc clients, causing denial of service.
RustSec Advisory Database
Body extractors do not pass their size limits to the decompression layer. A small compressed request can therefore cause a large allocation before the extractor rejects the decoded body. A remote attacker can use this to exhaust memory or CPU resources and cause denial of service.
This affects applications that read compressed request bodies with the corresponding compression feature enabled.
Upgrade to actix-web 4.18.2 or later with actix-http 3.20.1 or later. As a workaround, reject compressed request bodies at a reverse proxy or in middleware before body extraction.
RustSec Advisory Database
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-128242 changed 2026-11-13 | CVE Terms of Use |
| RustSec Advisory Database | RUSTSEC-2026-0447 changed 2026-11-14 | CC0-1.0 |
| RustSec Advisory Database | RUSTSEC-2026-0448 changed 2026-11-15 | CC0-1.0 |
| NVD | CVE-2026-128242 changed 2026-11-13 | Public domain |