Summary
CVE-2026-128242 is an unbounded decompression (decompression bomb) vulnerability in the encoding::Decoder of actix-http, the HTTP layer used by the actix-web framework. A remote, unauthenticated attacker can exhaust memory and CPU with small, highly compressed request bodies, causing denial of service. The CNA-assigned severity is High (CVSS v4.0 score 8.7).
Technical details
- Root cause: The
encoding::Decoderstream lacks proper limits on decompression output (CWE-409, Improper Handling of Highly Compressed Data). - Trigger conditions: The application decompresses attacker-controlled data. The advisory names the Json, Form, Bytes and String extractors, and awc clients. Supported encodings include gzip, deflate, Brotli and Zstandard.
- Attack vector: Network. The attacker sends a small compressed request body, or controls a compressed response consumed by an awc client. No authentication or user interaction is required.
- Impact: Excessive memory allocation and CPU use, leading to denial of service. No confidentiality or integrity impact is reported.
Affected software
- actix-web versions before 4.18.2
- actix-http versions before 3.20.1
Severity
- CVSS v4.0: 8.7 (High) –
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 - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: Upgrade to actix-web 4.18.2 or later and actix-http 3.20.1 or later. Rebuild and redeploy affected services.
- Workarounds: If you use the decoder directly, configure
Decoder::limit()to restrict decompression output. Actix Web users should make sure extractor size limits are passed to the decoder. - Review internet-facing Rust services for actix-web in their dependency trees (for example, with
cargo tree).

