{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["httpd_request_handler","httpd_request"],"packageName":"otp","packageURL":"pkg:sid/erlang.org/otp","product":"OTP","programFiles":["lib/inets/src/http_server/httpd_request_handler.erl","lib/inets/src/http_server/httpd_request.erl"],"programRoutines":[{"name":"httpd_request_handler:handle_info/2"},{"name":"httpd_request_handler:cancel_request_timeout/1"},{"name":"httpd_request:whole_body/2"}],"vendor":"Erlang","versions":[{"lessThan":"17.0","status":"unknown","version":"0","versionType":"otp"},{"lessThan":"27.3.4.17","status":"affected","version":"17.0","versionType":"otp"},{"lessThan":"28.5.0.6","status":"affected","version":"28.0","versionType":"otp"},{"lessThan":"29.0.6","status":"affected","version":"29.0","versionType":"otp"}]},{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["httpd_request_handler","httpd_request"],"packageName":"inets","packageURL":"pkg:otp/inets","product":"OTP","programFiles":["src/http_server/httpd_request_handler.erl","src/http_server/httpd_request.erl"],"programRoutines":[{"name":"httpd_request_handler:handle_info/2"},{"name":"httpd_request_handler:cancel_request_timeout/1"},{"name":"httpd_request:whole_body/2"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"lessThan":"5.10","status":"unknown","version":"0","versionType":"otp"},{"lessThan":"9.3.2.7","status":"affected","version":"5.10","versionType":"otp"},{"lessThan":"9.6.2.3","status":"affected","version":"9.4","versionType":"otp"},{"lessThan":"9.7.2","status":"affected","version":"9.7","versionType":"otp"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["httpd_request_handler","httpd_request"],"packageName":"erlang/otp","packageURL":"pkg:github/erlang/otp","product":"OTP","programFiles":["lib/inets/src/http_server/httpd_request_handler.erl","lib/inets/src/http_server/httpd_request.erl"],"programRoutines":[{"name":"httpd_request_handler:handle_info/2"},{"name":"httpd_request_handler:cancel_request_timeout/1"},{"name":"httpd_request:whole_body/2"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"lessThan":"81b453aac5a006bb8d26405f2bc3cf24e9d7733c","status":"affected","version":"84adefa331c4159d432d22840663c38f155cd4c1","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"27.3.4.17","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"28.5.0.6","versionStartIncluding":"28.0","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"29.0.6","versionStartIncluding":"29.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"remediation developer","value":"Konrad Pietrzak / Ericsson"},{"lang":"en","type":"analyst","value":"Lukas Backström / Erlang Solutions"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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 <code>Content-Length</code> and then stalling before the body is complete.</p>\n<p><code>httpd_request_handler:handle_info/2</code> 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 <code>{active, once}</code> without setting any further timer. <code>httpd_request:whole_body/2</code> returns such a continuation whenever the bytes received are fewer than the announced <code>Content-Length</code>, 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 <code>minimum_bytes_per_second</code> is configured, which it is not by default. Repeating this across connections occupies every worker permitted by <code>max_clients</code> and denies service to legitimate clients at negligible bandwidth cost.</p>\n<p>This issue affects OTP from OTP&nbsp;17.0 before OTP&nbsp;27.3.4.17, from OTP&nbsp;28.0 before OTP&nbsp;28.5.0.6, and from OTP&nbsp;29.0 before OTP&nbsp;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&nbsp;17.0, corresponding to inets before 5.10, is affected is unknown.</p>"},{"base64":false,"type":"text/markdown","value":"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.\n\n`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.\n\nThis 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."}],"value":"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.\n\nhttpd_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.\n\nThis 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."}],"impacts":[{"capecId":"CAPEC-469","descriptions":[{"lang":"en","value":"CAPEC-469 HTTP DoS"}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-772","description":"CWE-772 Missing Release of Resource after Effective Lifetime","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-09-01T14:35:31.192Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/erlang/otp/security/advisories/GHSA-5vp4-58hc-h8cc"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-71380.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-71380"},{"tags":["x_version-scheme"],"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"tags":["patch"],"url":"https://github.com/erlang/otp/commit/81b453aac5a006bb8d26405f2bc3cf24e9d7733c"}],"source":{"discovery":"INTERNAL"},"title":"httpd applies no timeout while receiving a request body, parking a worker on a stalled client","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ul>\n<li>Set <code>minimum_bytes_per_second</code> in the httpd configuration, for example <code>{minimum_bytes_per_second, 200}</code>. 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.</li>\n<li>Place a reverse proxy in front of httpd that enforces its own body-read timeout, such as <code>client_body_timeout</code> in nginx.</li>\n<li>Restrict access to the server to trusted clients where the deployment allows it.</li>\n</ul>"},{"base64":false,"type":"text/markdown","value":"* 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.\n* Place a reverse proxy in front of httpd that enforces its own body-read timeout, such as `client_body_timeout` in nginx.\n* Restrict access to the server to trusted clients where the deployment allows it."}],"value":"* 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.\n* Place a reverse proxy in front of httpd that enforces its own body-read timeout, such as client_body_timeout in nginx.\n* Restrict access to the server to trusted clients where the deployment allows it."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-71380","datePublished":"2026-09-01T14:35:31.192Z","dateReserved":"2026-08-17T12:45:01.757Z","dateUpdated":"2026-09-01T14:35:31.192Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}