actix-web・actix-httpに圧縮データ展開時のサービス停止の脆弱性
Summary
actix-httpとactix-webの一部の版には、圧縮されたリクエストボディを展開する際に上限がない脆弱性があります。遠隔の攻撃者が小さく高圧縮のボディを送ると、メモリとCPUを使い尽くされ、サービスが停止するおそれがあります。actix-httpは3.20.1より前、actix-webは4.18.2より前が影響を受けるため、修正版の3.20.1または4.18.2以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
actix-httpとactix-webの一部の版には、圧縮されたリクエストボディを展開する際に上限がない脆弱性があります。遠隔の攻撃者が小さく高圧縮のボディを送ると、メモリとCPUを使い尽くされ、サービスが停止するおそれがあります。actix-httpは3.20.1より前、actix-webは4.18.2より前が影響を受けるため、修正版の3.20.1または4.18.2以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| actixactix-http |
< 3.20.1→ 3.20.1 |
3.20.1 |
| actixactix-web |
< 4.18.2→ 4.18.2 |
4.18.2 |
| crates.ioactix-web |
≥ 0.0.0-0, < 4.18.2→ 4.18.2 |
4.18.2 |
| crates.ioactix-http |
≥ 0.0.0-0, < 3.20.1→ 3.20.1 |
3.20.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-128242 rust-actix-web, rust-actix-http Fix available
- Ubuntu UBUNTU-CVE-2026-128242 rust-actix-http No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory rustsec.org
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- advisory rustsec.org
- package github.com
- package crates.io
- package crates.io
- patch github.com
- web github.com
- web github.com
- web github.com