CVE-2026-134341: Large-window Brotli bodies bypass decompression memory limits
Published 2026-11-06 · Updated 2026-11-21 · Also known as GHSA-7p9w-p5qm-5gc5, RUSTSEC-2026-0455
Summary
Actix-http with the compress-brotli feature enabled accepts non-standard large-window Brotli streams that bypass memory limits. Engineering and security teams using the actix-http crate must upgrade to address potential memory exhaustion.
Who is affected
Applications using the actix-http crate with the compress-brotli feature enabled are affected when reading request bodies through extractors like Bytes, String, Json, or Form. A crafted 850-byte request can force internal buffers to grow up to about 1 GiB prior to reaching configured size limits, enabling concurrent requests to exhaust process or host memory.
Exploitability
CVSS vector, base score, and EPSS data are not documented. CISA Known Exploited Vulnerabilities indicates no active exploitation.
Remediation
- Upgrade to actix-http 3.20.3 or later.
- Reject requests with Content-Encoding: br at a reverse proxy or in middleware before body extraction.
- Disable the compress-brotli feature throughout the dependency graph.
How to check your project
- Check Cargo.lock or Cargo.toml to determine if the actix-http crate version falls within the introduced 0.0.0-0, fixed 3.20.3 range.
- Verify whether the compress-brotli feature is enabled in the project configuration.
Automated analysis of the published advisory data, generated 2026-11-21. 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.3 | 3.20.3 | cargo update -p actix-http --precise 3.20.3 |
FAQ
Which package is affected by CVE-2026-134341?
The crates.io package actix-http is affected in versions introduced 0.0.0-0, fixed 3.20.3.
How large can the unmitigated internal buffer allocation grow?
A crafted stream can cause the internal buffer to grow to about 1 GiB before the decoded output reaches the configured size limit.
Does handler-level authentication prevent this allocation?
No, the allocation occurs before the handler runs, meaning authentication performed in the handler does not prevent it.
Original advisory description
References
- PACKAGE https://crates.io/crates/actix-http
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0455.html
- WEB https://github.com/actix/actix-web/commit/61c6a15c1c0e505a5cd6842610a5f1faea432a83
Source records: RUSTSEC-2026-0455 (OSV.dev) · EPSS by FIRST, 2026-11-26.