actix-web
Affected
- introduced
0.0.0-0, fixed4.18.2(semver)
Fixed versions
4.18.2
Fix
- Fixed version
4.18.2cargo update -p actix-web --precise 4.18.2
Advisory
Also known as: CVE-2026-128242, GHSA-qph8-7859-gq2f, RUSTSEC-2026-0448
Compressed request bodies can exhaust memory before extractor limits apply
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.
Not rated by the source.
0.0.0-0, fixed 4.18.2 (semver)4.18.2
4.18.2cargo update -p actix-web --precise 4.18.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0