Advisory

RUSTSEC-2026-0447

Also known as: CVE-2026-128242, GHSA-qph8-7859-gq2f, RUSTSEC-2026-0448

Summary

Compressed request bodies can exhaust memory before extractor limits apply

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-11-06 12:00 UTC
Modified
2026-11-14 02:55 UTC

Affected packages and fixes

actix-web

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 4.18.2 (semver)

Fixed versions

4.18.2

Fix

  • Fixed version 4.18.2
    cargo update -p actix-web --precise 4.18.2

Fix 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

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences