Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend tiny highly-compressed gzip/deflate/brotli/zstd body
-
ExploitDecoder inflates with no ratio or size cap
-
Execution780x expansion into fully-materialized buffer
-
ImpactWorker-thread memory and CPU exhaustion (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
|
| Exploitation Conditions | Exploitable where compressed bodies are decoded via actix_http::encoding::Decoder with the default compression features enabled (compress-gzip for gzip/deflate, compress-brotli, compress-zstd); the PoC notes that disabling default features falls through to passthrough and no amplification occurs. Per the GHSA advisory the Decoder is instantiated only in the awc client path (awc/src/sender.rs), so the concrete at-risk deployment is an application that uses the awc HTTP client to fetch and fully materialize (res.body()/res.json()) compressed responses from untrusted or attacker-influenced upstream servers. The advisory explicitly says actix-web servers do NOT auto-decode request-body Content-Encoding, which conflicts with the NVD description's claim that Json/Form/Bytes/String request extractors are directly affected - treat server-side request exposure as unconfirmed. Limiting factor: the victim must consume compressed data from a source an attacker controls or can influence; no standard header conveys decompressed size (Content-Length reflects only compressed bytes), so caller-side protection is insufficient and the cap must be enforced at the decoder. |
| Impact | This is a genuine but bounded availability-only issue, best treated as a prompt patch rather than an emergency. The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N) reflects easy, remote, unauthenticated triggering with high availability impact (VA:H) and no confidentiality or integrity impact - consistent with a decompression-bomb DoS. The vuln.today decision label is 'this_week' (not act_now/emergency), which aligns with DoS-only impact. No EPSS score and no CISA KEV entry were provided, so there is no evidence of active exploitation; the status is best described as a public PoC existing (a hands-on unit test demonstrating ~780x amplification is published in the vendor GHSA advisory) rather than confirmed in-the-wild use - do not conflate the two. The most important caveat is a scope conflict between sources: the NVD description implies server-side request extractors (Json/Form/Bytes/String) auto-decode attacker-supplied compressed request bodies, but the GHSA advisory explicitly states actix-web servers do NOT auto-decode request-body Content-Encoding and that the vulnerable Decoder is instantiated only in the awc HTTP-client path. That materially narrows realistic exposure from 'every actix-web server' to 'applications using awc to consume compressed responses from untrusted/attacker-influenced upstreams' - verify your own usage against the GHSA before assuming server-side request exposure. |
| Exploit ScenarioDerived | A remote attacker (for awc clients, a malicious or attacker-influenced upstream server) returns a tiny highly-compressed body - e.g. 84 bytes of zeros that inflate to 65,536 bytes (~780x) - to code that decodes it via actix_http::encoding::Decoder with no expansion-ratio or absolute size cap. Because common consumption patterns fully materialize the decoded body (res.body(), res.json()), the amplification converts directly into resident memory and CPU on the worker thread, degrading or denying service. A detailed PoC unit test proving 780.19x amplification is published in the vendor's GHSA advisory, though it demonstrates the amplification primitive rather than a packaged end-to-end DoS tool. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Unbounded decompression in the actix-http encoding::Decoder allows an attacker who controls or influences a compressed HTTP payload to exhaust memory and CPU on the consuming process, with a measured 780x amplification (84 compressed bytes inflating to 65,536 bytes) and no cumulative ratio or absolute size cap applied to decoded output. The confirmed exposure is the awc HTTP client path, where Decoder is instantiated in awc/src/sender.rs, so applications that fetch and fully materialize compressed responses (res.body(), res.json()) from untrusted upstream servers are the concrete at-risk deployments; the advisory states that actix-web servers do not auto-decode request-body Content-Encoding, which leaves the NVD claim that Json/Form/Bytes/String extractors are directly affected unconfirmed. Affected releases are actix-http before 3.20.1 and actix-web before 4.18.2, and vendor patches are released as actix-http 3.20.1 and actix-web 4.18.2; a public PoC in the form of a unit test accompanies the GHSA advisory, but there is no indication of active exploitation and no public exploit code confirmed for real-world attack. This is a genuine but bounded availability-only issue, best treated as a prompt patch rather than an emergency.
RemediationAI
Upgrade to the vendor-released fixed versions: actix-http 3.20.1 (https://github.com/actix/actix-web/releases/tag/actix-http-v3.20.1) and actix-web 4.18.2 (https://github.com/actix/actix-web/releases/tag/actix-web-v4.18.2), which carry the fixes in commits 41b54d23ea04f66758c15de7e4ab18325cd25280 and 0d0be61bd757027bfcecbc53df1b7a600f21ecd0. The patch introduces encoding::Decoder::limit(), so code that consumes compressed bodies through the awc client or instantiates Decoder directly should call limit() with a maximum decoded byte count before the stream is first polled, since the default remains unlimited and the cap must be set explicitly; exceeding it surfaces as PayloadError::Overflow and callers should handle that error rather than treating it as a transport failure. Do not rely on Content-Length or other headers as a guard, because they describe only the compressed size and no standard header conveys the decompressed size, making decoder-level enforcement the only complete fix per the advisory. Where an immediate upgrade is not possible, the source evidence documents only one behavioral lever: building without the default compression features (compress-gzip, compress-brotli, compress-zstd) causes Decoder::new to fall through to a passthrough, trading away all compressed-body decoding in exchange for removing the amplification path. Also treat the exposure boundary as a control: the confirmed at-risk pattern is fetching and fully materializing (res.body()/res.json()) compressed responses from untrusted or attacker-influenced upstream servers via awc, so reducing which upstreams are trusted narrows exposure, while server-side request-body decoding via actix-web should not be assumed to be a live vector pending confirmation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in cargo
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
actix-http is the HTTP protocol implementation underlying the Rust actix-web framework and its awc client. Its encoding::Decoder stream wraps a ContentDecoder enum whose gzip, deflate, Brotli and zstd variants are compiled in behind the compress-brotli, compress-gzip and compress-zstd features, and decompression of each incoming chunk is offloaded via spawn_blocking. The flaw is CWE-409 (improper handling of highly compressed data), mapped in the advisory as CWE-770 resource consumption: the decoder never tracks the cumulative ratio of decoded bytes to compressed input and enforces no cumulative quota or cap tied to the request/response size limits, so a single highly repetitive compressed member expands proportionally to its decompressed size rather than being bounded. The GHSA demonstrates this with a zlib/deflate buffer of 64 KiB of zeros compressing to roughly 84 bytes; injecting that single chunk yields 65,536 bytes of output, a 780.19x amplification on one worker thread. The upstream fix adds encoding::Decoder::limit(), which calls set_limit() on each ContentDecoder variant and stops decoding with PayloadError::Overflow (translated from io::ErrorKind::FileTooLarge) once the configured decoded byte total is exceeded; the limit must be set before the stream is first polled and the default remains unlimited. Because Content-Length reflects only the compressed size and no standard header conveys decompressed size, the decoder is the only point at which the expansion ratio can be enforced. Two important scope qualifiers come from the source evidence: the PoC shows that disabling default features causes Decoder::new to fall through to a passthrough with no amplification, and the advisory states Decoder is instantiated only in the awc client path, with actix-web servers not auto-decoding request-body Content-Encoding.
Know when Actix Http gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Remote and unauthenticated with trivially crafted tiny compressed payloads (AV:N/AC:L/PR:N/UI:N); only availability is affected via memory/CPU exhaustion, so C:N/I:N/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
actix-http before 3.20.1 and actix-web before 4.18.2 contain an unbounded decompression vulnerability in encoding::Decoder that lets remote attackers exhaust memory and CPU via compressed bodies. Attackers can send small highly compressed gzip, deflate, Brotli or zstd request bodies to Json, Form, Bytes or String extractors, or serve them to awc clients, causing denial of service.
Technical POC Analysis
CWE-409 (advisory also cites CWE-770).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-128242 is a high-severity flaw in actix-http versions before 3.20.1 and actix-web before 4.18.2 that allows a malicious upstream server to exhaust memory and CPU in applications acting as HTTP clients. The confirmed risk affects services that fetch and fully process compressed responses from untrusted sources, potentially causing service disruptions and impacting availability for users. Leadership should prioritize remediation because this vulnerability can lead to costly outages and resource exhaustion.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Actix Http
View allAn issue was discovered in the actix-http crate before 3.0.0-beta.9 for Rust. Rated high severity (CVSS 7.5), this vulne
An issue was discovered in the actix-http crate before 2.0.0-alpha.1 for Rust. Rated high severity (CVSS 7.5), this vuln
Unauthenticated remote attackers can exhaust server memory in actix-http 3.0.0 through 3.20.2 (used by actix-web 4.x def
HTTP request smuggling in the Rust actix-http crate (versions 3.18.10 up to, but not including, 3.20.2) lets an attacker
EUVD-2026-125050
GHSA-gxj9-vqfq-hp64
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB