Find a vulnerability
Search criteria
Related vulnerabilities
RUSTSEC-2026-0447 (GHSA-QPH8-7859-GQ2F)
Vulnerability from osv_rustsec – Published: 2026-11-06 12:00 – Updated: 2026-11-06 14:42 – Source websiteBody 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.
{
"affected": [
{
"database_specific": {
"categories": [
"denial-of-service"
],
"cvss": null,
"informational": null
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "actix-web",
"purl": "pkg:cargo/actix-web"
},
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "4.18.2"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"GHSA-qph8-7859-gq2f"
],
"database_specific": {
"license": "CC0-1.0"
},
"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.",
"id": "RUSTSEC-2026-0447",
"modified": "2026-11-06T14:42:53Z",
"published": "2026-11-06T12:00:00Z",
"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"
}
],
"related": [],
"severity": [],
"summary": "Compressed request bodies can exhaust memory before extractor limits apply"
}
RUSTSEC-2026-0448 (GHSA-QPH8-7859-GQ2F)
Vulnerability from osv_rustsec – Published: 2026-11-06 12:00 – Updated: 2026-11-06 14:42 – Source websiteThe 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.
{
"affected": [
{
"database_specific": {
"categories": [
"denial-of-service"
],
"cvss": null,
"informational": null
},
"ecosystem_specific": {
"affected_functions": null,
"affects": {
"arch": [],
"functions": [],
"os": []
}
},
"package": {
"ecosystem": "crates.io",
"name": "actix-http",
"purl": "pkg:cargo/actix-http"
},
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "3.20.1"
}
],
"type": "SEMVER"
}
],
"versions": []
}
],
"aliases": [
"GHSA-qph8-7859-gq2f"
],
"database_specific": {
"license": "CC0-1.0"
},
"details": "The `encoding::Decoder` stream can expand compressed input into a large output\nbuffer before a caller can enforce its body size limit. An attacker who controls\na compressed request or response can cause excessive memory allocation and CPU\nuse, resulting in denial of service.\n\nThis affects applications that decode untrusted gzip, deflate, Brotli, or Zstandard\nbodies with the corresponding compression feature enabled.\n\nUpgrade to actix-http 3.20.1 or later and configure `Decoder::limit()` when using\nthe decoder directly. Actix Web users must also upgrade to actix-web 4.18.2 or\nlater so that extractors pass their limits to the decoder.",
"id": "RUSTSEC-2026-0448",
"modified": "2026-11-06T14:42:53Z",
"published": "2026-11-06T12:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/actix-http"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2026-0448.html"
},
{
"type": "WEB",
"url": "https://github.com/actix/actix-web/commit/41b54d23ea04f66758c15de7e4ab18325cd25280"
}
],
"related": [],
"severity": [],
"summary": "Unbounded decompression can exhaust memory and CPU resources"
}