CVE-2026-128242
JSON

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 packageVersionsReported by
actix actix-httpbefore 3.20.1CVE List
actix actix-webbefore 4.18.2CVE List
actix-web (crates.io)from 0.0.0-0 before 4.18.2RustSec Advisory Database
actix-http (crates.io)from 0.0.0-0 before 3.20.1RustSec Advisory Database

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-409

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

https://github.com/actix/actix-web/security/advisories/GHSA-qph8-7859-gq2fvendor-advisory
https://rustsec.org/advisories/RUSTSEC-2026-0448.htmladvisory, third-party-advisory
https://github.com/actix/actix-web/commit/41b54d23ea04f66758c15de7e4ab18325cd25280patch, web
https://github.com/actix/actix-web/commit/0d0be61bd757027bfcecbc53df1b7a600f21ecd0patch, web
https://github.com/actix/actix-web/blob/actix-http-v3.20.0/actix-http/src/encoding/decoder.rs#L239-L301technical-description
https://github.com/actix/actix-web/releases/tag/actix-http-v3.20.1release-notes
https://github.com/actix/actix-web/releases/tag/actix-web-v4.18.2release-notes
https://github.com/actix/actix-webproduct
https://www.vulncheck.com/advisories/actix-http-before-3.20.1-and-actix-web-before-4.18.2-decompression-bomb-dos-via-encoding-decoderthird-party-advisory
https://crates.io/crates/actix-webpackage
https://rustsec.org/advisories/RUSTSEC-2026-0447.htmladvisory
https://crates.io/crates/actix-httppackage

Sources

SourceRecordLicence
CVE ListCVE-2026-128242 changed 2026-11-13CVE Terms of Use
RustSec Advisory DatabaseRUSTSEC-2026-0447 changed 2026-11-14CC0-1.0
RustSec Advisory DatabaseRUSTSEC-2026-0448 changed 2026-11-15CC0-1.0
NVDCVE-2026-128242 changed 2026-11-13Public domain