ZeroHour

CVE-2026-71380

Unauthenticated resource-exhaustion DoS in Erlang/OTP inets httpd

CVSS 4.0
8.7 high
EPSS
<1%p32
Published
()
Modified
AI analysis

CVE-2026-71380 is a missing release of resource after effective lifetime (CWE-772) in the httpd HTTP server of Erlang/OTP's inets application: once the request headers parse successfully, the handler cancels the request timeout, and while waiting for the announced body it re-arms the socket with no replacement timer, so the worker waits indefinitely. An unauthenticated remote attacker triggers this by sending a well-formed request with a large Content-Length and then stalling before the body is complete; because the byte-rate reaper is only armed when minimum_bytes_per_second is configured (not the default), each stalled connection permanently occupies a worker. By repeating this across connections, the attacker ties up every worker permitted by max_clients and denies service to legitimate clients at negligible bandwidth cost. Any deployment running the affected inets httpd versions is affected, particularly where httpd is reachable from untrusted networks. No public proof-of-concept or in-the-wild exploitation is known; EPSS assigns a 0.4% probability of exploitation within 30 days and the issue is not in CISA KEV.

What to do: Upgrade to OTP 27.3.4.17 (inets 9.3.2.7), OTP 28.5.0.6 (inets 9.6.2.3), or OTP 29.0.6 (inets 9.7.2), or later. As an interim mitigation, configure minimum_bytes_per_second so the periodic byte-rate check reclaims stalled workers, and consider capping max_clients and shielding httpd behind a proxy or load balancer with idle timeouts. Audit your estate to determine whether any service exposes the inets httpd server to untrusted networks.

Affected
Ericsson Erlang/OTPOTP 17.0 through before 27.3.4.17; OTP 28.0 through before 28.5.0.6; OTP 29.0 through before 29.0.6 (whether OTP versions before 17.0 are affected is unknown)
Ericsson Erlang/OTP inets application (httpd)inets 5.10 through before 9.3.2.7; inets 9.4 through before 9.6.2.3; inets 9.7 before 9.7.2 (whether inets before 5.10 is affected is unknown)
Estimated exposure
unknown; plausibly no more than thousands to low tens of thousands of exposed instances — The bundled inets httpd is an uncommonly used, often internal-facing component of the Erlang/OTP runtime, and no public scan data quantifies internet-exposed httpd instances, so no reliable order-of-magnitude estimate is possible.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

Missing Release of Resource after Effective Lifetime vulnerability in Erlang/OTP inets httpd allows an unauthenticated remote attacker to cause denial of service by sending valid request headers with a large Content-Length and then stalling before the body is complete. httpd_request_handler:handle_info/2 cancels the request timeout as soon as a parse step succeeds, which includes the headers, and the clause that handles a decoder asking for more data re-arms the socket with {active, once} without setting any further timer. httpd_request:whole_body/2 returns such a continuation whenever the bytes received are fewer than the announced Content-Length, so a well-formed request that stops mid-body leaves the worker waiting indefinitely. The periodic byte-rate check that would reclaim it is armed only when minimum_bytes_per_second is configured, which it is not by default. Repeating this across connections occupies every worker permitted by max_clients and denies service to legitimate clients at negligible bandwidth cost. This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, from 9.4 before 9.6.2.3, and from 9.7 before 9.7.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.

Weakness
CWE-772
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

In the news

No ingested article mentions this CVE yet.