Skip to main content

actix-http CVE-2026-128242

| EUVDEUVD-2026-125050 HIGH
Improper Handling of Highly Compressed Data (Data Amplification) (CWE-409)
2026-11-13 VulnCheck GHSA-gxj9-vqfq-hp64
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send tiny highly-compressed gzip/deflate/brotli/zstd body
  2. Exploit
    Decoder inflates with no ratio or size cap
  3. Execution
    780x expansion into fully-materialized buffer
  4. Impact
    Worker-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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 1.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

actix-http 0 <3.20.1
actix-web 0 <4.18.2

Affected Packages

cargo actix-http fix: 3.20.1
cargo actix-web fix: 4.18.2

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.0%
Top 38% exploitable
Prevalence
Medium
one of the most popular Rust web frameworks, but Rust web-stack footprint is moderate
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy