CVE-2026-71380 PUBLISHED

httpd applies no timeout while receiving a request body, parking a worker on a stalled client

Assigner: EEF
Reserved: 17.08.2026 Published: 01.09.2026 Updated: 01.09.2026

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.

Metrics

CVSS 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
CVSS Score: 8.7

Product Status

Vendor Erlang
Product OTP
Versions Default: unaffected
  • unknown from 0 to 17.0 (excl.)
  • affected from 17.0 to 27.3.4.17 (excl.)
  • affected from 28.0 to 28.5.0.6 (excl.)
  • affected from 29.0 to 29.0.6 (excl.)
Vendor Erlang
Product OTP
Versions Default: unaffected
  • unknown from 0 to 5.10 (excl.)
  • affected from 5.10 to 9.3.2.7 (excl.)
  • affected from 9.4 to 9.6.2.3 (excl.)
  • affected from 9.7 to 9.7.2 (excl.)
Vendor Erlang
Product OTP
Versions Default: unaffected
  • affected from 84adefa331c4159d432d22840663c38f155cd4c1 to 81b453aac5a006bb8d26405f2bc3cf24e9d7733c (excl.)

Workarounds

  • Set minimum_bytes_per_second in the httpd configuration, for example {minimum_bytes_per_second, 200}. This arms a periodic byte-rate check that terminates a connection which has stopped delivering data, reclaiming the parked worker. The check is disabled by default.
  • Place a reverse proxy in front of httpd that enforces its own body-read timeout, such as client_body_timeout in nginx.
  • Restrict access to the server to trusted clients where the deployment allows it.

Credits

  • Konrad Pietrzak / Ericsson remediation developer
  • Lukas Backström / Erlang Solutions analyst

References

Problem Types

  • CWE-772 Missing Release of Resource after Effective Lifetime CWE

Impacts

  • CAPEC-469 HTTP DoS