CVE-2026-134341: Large-window Brotli bodies bypass decompression memory limits

Published Nov 6, 2026
·
Updated

actix-http 3.0.0 before 3.20.3 contains a denial of service vulnerability that allows unauthenticated remote attackers to exhaust memory by sending large-window brotli request bodies. Attackers can send an 850-byte body with Content-Encoding: br declaring a 2^30 window, forcing about 1 GiB of decoder allocation per request and OOM-killing servers.

Other sources

With the compress-brotli feature enabled, the decoder accepts the non-standard large-window Brotli format. A crafted stream can cause its internal buffer to grow to about 1 GiB before the decoded output reaches the configured size limit. An 850-byte request can cause this allocation, and concurrent requests can exhaust process or host memory.

Actix Web enables Brotli support by default. Applications that read request bodies through Bytes, String, Json, or Form can be affected even when extractor size limits are configured. The allocation occurs before the handler runs, so authentication performed in the handler does not prevent it.

Upgrade to actix-http 3.20.3 or later. As a workaround, reject requests with Content-Encoding: br at a reverse proxy or in middleware before body extraction, or disable the compress-brotli feature throughout the dependency graph.

— OSV

Affected Software

7 affected componentsFixes available
crates.io/actix-http>=3.0.0<3.20.3
rust/actix-http>=0.0.0-0<3.20.3
3.20.3
debian/rust-actix-http<=3.9.0-3
3.21.0-1
debian/rust-actix-http*
debian/rust-actix-http<3.21.0-1
3.21.0-1
ubuntu/rust-actix-http*
ubuntu/rust-actix-http*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/actix-http to a version that resolves this vulnerability.

    Fixed in 3.20.3
  2. Upgrade

    Upgrade debian/rust-actix-http to a version that resolves this vulnerability.

    Fixed in 3.21.0-1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.20.3
  4. Configuration

    Disable the `compress-brotli` feature throughout the dependency graph.

    actix-http compress-brotli = disabled
  5. Compensating control

    Reject requests with `Content-Encoding: br` at a reverse proxy or in middleware before body extraction.

Event History

Nov 6, 2026
Advisory Published
via OSV·12:00 PM
Data Sourced
via OSV·12:00 PM
DescriptionAffected Software
Nov 21, 2026
CVE Published
via MITRE·04:34 PM
Data Sourced
via MITRE·04:34 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·04:34 PM
SeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Event
via NVD·05:16 PM
Nov 23, 2026
Exploit Published
via CISA·04:04 PM
Nov 24, 2026
Updated
via OSV·10:01 AM
Severity

Frequently Asked Questions

1

Which applications are exposed in practice?

Actix Web applications with Brotli support enabled are exposed, and Brotli support is enabled by default. Applications that read bodies through Bytes, String, Json, or Form can be affected.

2

Does an attacker need credentials or need to reach an application handler?

No. An unauthenticated remote attacker can trigger allocation before the handler runs, so authentication implemented in the handler does not prevent exploitation.

3

Do configured request or extractor size limits prevent the memory exhaustion?

No. The Brotli decoder can grow its internal buffer to about 1 GiB before decoded output reaches the configured size limit.

4

What can be done if an immediate upgrade is not possible?

Reject requests with Content-Encoding: br at a reverse proxy or in middleware before body extraction, or disable the compress-brotli feature. Upgrade actix-http to version 3.20.3 or later when possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203