Skip to main content

actix-http EUVDEUVD-2026-140250

| CVE-2026-140393 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-12-01 VulnCheck GHSA-c8r9-cphr-9362
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Open keep-alive connection and send one valid request
  2. Delivery
    Send a single byte of a second request
  3. Exploit
    Keep-alive timer cleared, head timer never re-armed
  4. Execution
    Connection held open indefinitely
  5. Persist
    Repeat ~1000 times to exhaust file descriptors
  6. Impact
    New connections refused (denial of service)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires HTTP/1 keep-alive connections to be enabled, which is the default for actix-http/Actix Web; the advisory confirms the flaw on default features, plain TCP, with no fronting proxy. The attacker must complete one request per connection and then send at least one byte of a second request, and must open enough simultaneous connections to exhaust the process file-descriptor limit (about 1000 connections against a default 1024 fd ceiling). Limiting factors: no authentication or user interaction is needed (PR:N/UI:N), but a reverse proxy or load balancer that terminates/pools client connections in front of the server can absorb or blunt the attack, raising the OS/process fd limit raises the required connection count, and the documented workaround - HttpServer::keep_alive(KeepAlive::Disabled) - removes the condition entirely. Impact is transient: the server recovers once the attacker disconnects.

Impact

This is a genuine but moderate-priority availability issue, and the signals are internally consistent rather than conflicting. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms a remote, low-complexity, unauthenticated attack with no user interaction, and the only impact is availability of the vulnerable system (VA:L; VC:N/VI:N) - there is no confidentiality or integrity exposure and no scope change, which is why the score lands at 6.9 (medium) rather than critical. SSVC aligns with this: Exploitation=poc, Automatable=yes (the attack is trivially scriptable and needs no per-target tailoring), Technical Impact=partial (service degradation, not full compromise). The vuln.today decision label is 'this_month', not act_now/emergency. No EPSS score was provided and the CVE is not on CISA KEV, so there is no evidence of active exploitation - treat this as a patchable DoS rather than an incident. The net picture is a real, easily automated resource-exhaustion flaw whose ceiling is denial of service; prioritize it on a normal monthly patch cadence, escalating only for internet-facing actix-http services that are directly exposed (no fronting proxy) and run near their file-descriptor limit.

Exploit ScenarioDerived

An unauthenticated remote attacker opens many keep-alive connections to an internet-facing actix-http/Actix Web server, completes one normal request on each, then sends a single byte of a second request and stops. Because that byte clears the keep-alive timer while the request-head timeout no longer applies, each connection is held open indefinitely with no further traffic; roughly 1000 such sockets exhaust a default 1024 file-descriptor limit and the server stops accepting new connections. A full working reproduction (Python client plus server) is published in the GHSA advisory, demonstrating the connection never times out ('infs').

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Dec 02, 2026

Denial of service in actix-http (the HTTP library beneath Actix Web) before 3.21.2 lets an unauthenticated remote client pin HTTP/1 keep-alive connections open indefinitely, exhausting the process file-descriptor table so new connections are refused until the attacker disconnects. Affected are Actix Web/actix-http deployments on the default feature set over plain TCP with keep-alive enabled and no connection-terminating proxy in front; roughly 1000 held connections are enough to hit a default 1024 fd limit. The upstream advisory ships a working reproduction (one byte of a second request after a completed request is never timed out), so a public PoC reference exists, but it is not verified as weaponized exploit code and there is no CISA KEV confirmation; impact is partial and transient availability loss, and the server recovers once the attacker stops.

RemediationAI

Vendor-released patch: actix-http 3.21.2 and later. Upgrade the actix-http dependency to >= 3.21.2 (or move to the Actix Web release that pulls it in) and redeploy, then confirm the resolved version in Cargo.lock; the advisory at https://github.com/actix/actix-web/security/advisories/GHSA-54pm-2wm5-hpmg tracks the fixed package versions. Where an immediate upgrade is not possible, the vendor-documented workaround is disabling keep-alive with HttpServer::keep_alive(KeepAlive::Disabled), which removes the vulnerable keep-alive reuse path at the cost of per-request connection setup and higher latency/CPU for clients that relied on connection reuse. Deploying a reverse proxy or load balancer that terminates client HTTP/1 connections and pools upstream connections absorbs the held sockets on the proxy instead of the application, though it shifts rather than eliminates the fd-exhaustion risk and requires the proxy's own idle timeouts to be tuned. Raising the process/OS file-descriptor limit increases the number of connections an attacker must hold and buys time, but is only a scaling countermeasure. Because the impact is transient and the server recovers once the attacker disconnects, these controls should be treated as interim until the patched version is deployed.

Affected VersionsENISA

actix-http 0 <3.21.2

Affected Packages

cargo actix-http fix: 3.21.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package 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 Rust HTTP protocol implementation that Actix Web builds on, and the flaw lives in its HTTP/1 dispatcher (actix-http/src/h1/dispatcher.rs). The root cause class is CWE-770, allocation of resources without limits or throttling: connection-state bookkeeping decouples the keep-alive idle timer from the request-head deadline. Any read on a keep-alive connection clears ka_timer and the KEEP_ALIVE flag (lines 1329-1333 in 3.13.6), while head_timer is armed only while the dispatcher's STARTED flag is unset and is cleared at line 905 once the first request head decodes. Since STARTED is set once per connection, no timer is re-armed after request one, so a single byte of a second request permanently suspends both the keep-alive timeout and the client_request_timeout. The dispatcher then parks a socket, file descriptor and task with no deadline, converting a trivial one-byte write into an unbounded resource hold. This differs from classic slowloris, where the attacker must keep dribbling bytes to defeat an idle timeout; here no further traffic is required. The upstream reproduction on actix-web 4.15.0/actix-http 3.13.6 with keep_alive and client_request_timeout both set to 5 seconds shows an idle connection closing in ~4.6s versus never closing when a single byte follows the first request, and the issue was also observed on 3.12.1 and main.

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 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Remote, low-complexity, unauthenticated, no interaction (AV:N/AC:L/PR:N/UI:N); impact is limited to transient availability loss via fd exhaustion, so A:L and C:N/I:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 16:02 EUVD
CVSS changed
Dec 01, 2026 - 15:22 NVD
5.3 (MEDIUM) 6.9 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
1.0%
Top 37% exploitable
Prevalence
Medium
popular Rust web framework library, significant but sub-ubiquitous production footprint
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 MEDIUM
CISA KEV No
Public POC No
EPSS 1.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +34
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