VulnWatch by ve1ve2
high 8.7 EPSS 0.94%

RUSTSEC-2026-0455: Large-window Brotli bodies bypass decompression memory limits

Source:
OSV.dev
Published:
Fetched:
Updated:
Affects:
actix-http

https://osv.dev/vulnerability/RUSTSEC-2026-0455 ↗

osvcrates.iofix-available

Large-window Brotli bodies bypass decompression memory limits 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. Affected: crates.io:actix-http Fixed in: 3.20.3 References: https://crates.io/crates/actix-http https://rustsec.org/advisories/RUSTSEC-2026-0455.html https://github.com/actix/actix-web/commit/61c6a15c1c0e505a5cd6842610a5f1faea432a83

Linked vulnerabilities (2)

CVE-2026-134341 high 8.7 EPSS 0.94% (p62) NVDCVE.orgGHSA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

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.

CWE: CWE-409Aliases: GHSA-7p9w-p5qm-5gc5NVD: Received

Large-window Brotli bodies bypass decompression memory limits

Aliases: CVE-2026-134341

Also reported by (1)