CVE-2026-69664 PUBLISHED

httpd parks a request worker indefinitely on a malformed chunk size sent after the headers

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 a request with a chunked body whose chunk-size line is not a hexadecimal number. The worker serving the connection is never released and no timeout reclaims it, so repeating the request across connections occupies every available worker and denies service to legitimate clients. No authentication is required and the default configuration is affected.

The chunk-size line must arrive in a write separate from the headers. When the body accompanies the headers, httpd_request_handler:handle_body/3 calls http_chunk:decode/3 inside a try ... catch throw:Error, so the {error, {chunk_size, _}} thrown by http_chunk:decode_size/4 is answered with 400 Bad Request. When the chunk size arrives later, the decoder is resumed through a bare catch in httpd_request_handler:handle_info/2, which converts the throw into a return value rather than raising it; the resulting error tuple is then treated as the next decoder continuation, the socket is re-armed, and the worker waits for data that never comes. The request timeout has already been cancelled at the point the headers were accepted, and the periodic byte-rate check is only armed when minimum_bytes_per_second is configured, which it is not by default.

This issue affects OTP from OTP 18.1.4 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 6.0.3 before 9.3.2.7, from 9.4 before 9.6.2.3, and from 9.7 before 9.7.2.

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
  • affected from 18.1.4 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
  • affected from 6.0.3 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 77acb473d8f056f6f534395f131c6e45693797f0 to * (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 within a few seconds. The check is disabled by default, and any positive value suffices because an affected connection delivers no further data at all.
  • Place a reverse proxy in front of httpd that validates chunked transfer encoding and rejects malformed chunk framing before it reaches httpd.
  • Restrict access to the server to trusted clients where the deployment allows it.

Credits

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

References

Problem Types

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

Impacts

  • CAPEC-469 HTTP DoS