{"id":"RUSTSEC-2026-0447","summary":"Compressed request bodies can exhaust memory before extractor limits apply","details":"Body extractors do not pass their size limits to the decompression layer.\nA small compressed request can therefore cause a large allocation before the\nextractor rejects the decoded body. A remote attacker can use this to exhaust\nmemory or CPU resources and cause denial of service.\n\nThis affects applications that read compressed request bodies with the\ncorresponding compression feature enabled.\n\nUpgrade to actix-web 4.18.2 or later with actix-http 3.20.1 or later.\nAs a workaround, reject compressed request bodies at a reverse proxy or in\nmiddleware before body extraction.","aliases":["GHSA-qph8-7859-gq2f","RUSTSEC-2026-0448"],"modified":"2026-11-06T14:56:05.870288153Z","published":"2026-11-06T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/actix-web"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2026-0447.html"},{"type":"WEB","url":"https://github.com/actix/actix-web/commit/0d0be61bd757027bfcecbc53df1b7a600f21ecd0"}],"affected":[{"package":{"name":"actix-web","ecosystem":"crates.io","purl":"pkg:cargo/actix-web"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"4.18.2"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"functions":[],"arch":[],"os":[]}},"database_specific":{"categories":["denial-of-service"],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2026-0447.json","cvss":null,"informational":null}}],"schema_version":"1.9.2"}