CVE-2026-140393: actix-http before 3.21.2 Denial of Service via HTTP/1 Keep-Alive Connection Exhaustion
actix-http before 3.21.2, the HTTP library underlying Actix Web, contains a denial of service vulnerability in its HTTP/1 dispatcher because received bytes clear the keep-alive timer while the request head timer applies only to a connection's first request. Unauthenticated remote attackers can send one byte of a second request on keep-alive connections to hold them open indefinitely, exhausting file descriptors and blocking new connections.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
actix-httpto a version that resolves this vulnerability.Fixed in 3.21.2
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Deployments using actix-http versions before 3.21.2 that accept HTTP/1 keep-alive connections are exposed. The issue affects the HTTP library underlying Actix Web.
What must an attacker do to trigger the denial of service?
An unauthenticated remote attacker needs to establish a keep-alive connection and send one byte of a second HTTP request. This clears the keep-alive timer while the request-head timer does not protect subsequent requests, allowing the connection to remain open indefinitely.
What is the practical impact of successful exploitation?
An attacker can consume file descriptors by holding connections open indefinitely. Once resources are exhausted, the service can be unable to accept new connections.
What version resolves the issue?
Upgrade actix-http to version 3.21.2 or later.