Advisory

RUSTSEC-2026-0448

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

Summary

Unbounded decompression can exhaust memory and CPU resources

Details

The encoding::Decoder stream can expand compressed input into a large output
buffer before a caller can enforce its body size limit. An attacker who controls
a compressed request or response can cause excessive memory allocation and CPU
use, resulting in denial of service.

This affects applications that decode untrusted gzip, deflate, Brotli, or Zstandard
bodies with the corresponding compression feature enabled.

Upgrade to actix-http 3.20.1 or later and configure Decoder::limit() when using
the decoder directly. Actix Web users must also upgrade to actix-web 4.18.2 or
later so that extractors pass their limits to the decoder.

Severity

Not rated by the source.

Dates

Published
2026-11-06 12:00 UTC
Modified
2026-11-15 09:59 UTC

Affected packages and fixes

actix-http

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 3.20.1 (semver)

Fixed versions

3.20.1

Fix

  • Fixed version 3.20.1
    cargo update -p actix-http --precise 3.20.1

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