httpd applies no timeout while receiving a request body, parking a worker on a stalled client (Erlang OTP)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.67 % · percentile 52 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- EEF
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-772 — Missing Release of Resource after Effective Lifetime
References
- https://github.com/erlang/otp/security/advisories/GHSA-5vp4-58hc-h8cc
- https://cna.erlef.org/cves/CVE-2026-71380.html
- https://osv.dev/vulnerability/EEF-CVE-2026-71380
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/81b453aac5a006bb8d26405f2bc3cf24e9d7733c
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | HIGH 8.7 | 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 | EEF |
| CVSS 4.0 | HIGH 8.7 | 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 | NVD · 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) |
European references
- ENISA EUVD · EUVD-2026-69226
- GCVE · GCVE-0-2026-71380
Affected products
| Product | Versions |
|---|---|
| Erlang · OTP | unknown 0 < 17.0 ; affected 17.0 < 27.3.4.17 ; affected 28.0 < 28.5.0.6 ; affected 29.0 < 29.0.6 |
| Erlang · OTP | unknown 0 < 5.10 ; affected 5.10 < 9.3.2.7 ; affected 9.4 < 9.6.2.3 ; affected 9.7 < 9.7.2 |
| Erlang · OTP | affected 84adefa331c4159d432d22840663c38f155cd4c1 < 81b453aac5a006bb8d26405f2bc3cf24e9d7733c |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |