{"id":"CVE-2026-70399","aliases":["CVE-2026-70399","EEF-CVE-2026-70399","GHSA-pwvh-c689-f8q5"],"related":[],"kind":"vulnerability","state":"published","title":"httpd does not enforce the documented default max_clients connection limit","summary":"Allocation of Resources Without Limits or Throttling vulnerability in Erlang/OTP inets httpd allows an unauthenticated remote attacker to cause denial of service by opening and holding open a large number of connections. The max_clients option is documented to default to 150, and the inets hardening guide presents that limit as the first layer of denial-of-service defence, but a server that does not set it explicitly accepts an unlimited number of simultaneous connections. Establishing the connections is sufficient; no valid request and no authentication are required.\n\nThe accept gate in httpd_manager:handle_new_connection/4 reads the option with httpd_util:lookup/2, which returns undefined when the key is absent, rather than the three-argument form carrying the 150 default that the neighbouring get_ustate/2 uses. Erlang term ordering places every integer before every atom, so the Count =< Max guard holds for any connection count and the server never returns {reject, busy}. Each accepted connection occupies a worker process and a socket for as long as it is held, driving the node towards process, memory and file descriptor exhaustion. Servers that set max_clients explicitly are unaffected, because a configured value is applied as intended.\n\nThis issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Allocation of Resources Without Limits or Throttling vulnerability in Erlang/OTP inets httpd allows an unauthenticated remote attacker to cause denial of service by opening and holding open a large number of connections. The max_clients option is documented to default to 150, and the inets hardening guide presents that limit as the first layer of denial-of-service defence, but a server that does not set it explicitly accepts an unlimited number of simultaneous connections. Establishing the connections is sufficient; no valid request and no authentication are required.\n\nThe accept gate in httpd_manager:handle_new_connection/4 reads the option with httpd_util:lookup/2, which returns undefined when the key is absent, rather than the three-argument form carrying the 150 default that the neighbouring get_ustate/2 uses. Erlang term ordering places every integer before every atom, so the Count =< Max guard holds for any connection count and the server never returns {reject, busy}. Each accepted connection occupies a worker process and a socket for as long as it is held, driving the node towards process, memory and file descriptor exhaustion. Servers that set max_clients explicitly are unaffected, because a configured value is applied as intended.\n\nThis issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAllocation of Resources Without Limits or Throttling vulnerability in Erlang/OTP inets httpd allows an unauthenticated remote attacker to cause denial of service by opening and holding open a large number of connections. The `max_clients` option is documented to default to `150`, and the inets hardening guide presents that limit as the first layer of denial-of-service defence, but a server that does not set it explicitly accepts an unlimited number of simultaneous connections. Establishing the connections is sufficient; no valid request and no authentication are required.\n\nThe accept gate in `httpd_manager:handle_new_connection/4` reads the option with `httpd_util:lookup/2`, which returns `undefined` when the key is absent, rather than the three-argument form carrying the `150` default that the neighbouring `get_ustate/2` uses. Erlang term ordering places every integer before every atom, so the `Count =< Max` guard holds for any connection count and the server never returns `{reject, busy}`. Each accepted connection occupies a worker process and a socket for as long as it is held, driving the node towards process, memory and file descriptor exhaustion. Servers that set `max_clients` explicitly are unaffected, because a configured value is applied as intended.\n\nThis issue affects OTP from OTP 17.0 before OTP 27.3.4.17, OTP 28.5.0.6, and OTP 29.0.6, corresponding to inets from 5.10 before 9.3.2.7, 9.6.2.3, and 9.7.2.\n\n## Workarounds\n\n* Set `max_clients` explicitly in the httpd configuration, for example `{max_clients, 150}`. An explicitly configured value is read by the same accept gate and applied as intended, so this restores the documented limit without upgrading.\n* Limit concurrent connections in front of httpd, for example with reverse proxy or firewall connection-count and connection-rate rules.\n* Restrict access to the server to trusted clients where the deployment allows it.\n\n## Configurations\n\nOnly servers that do not set `max_clients` in the httpd configuration are affected. A server that sets the option to any integer value applies the limit as intended.","format":"markdown","source":"eef"}],"published":"2026-09-01T14:33:05.717Z","modified":"2026-11-25T06:30:33.037Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","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"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"otp","introduced":"5.10","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"inets","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"otp","introduced":"17.0","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"git","introduced":"d9674f32811cd5bb02b0d6656053b5ee226bc74c","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"git","introduced":"d9674f32811cd5bb02b0d6656053b5ee226bc74c","status":"affected","fixed":"6746dc4e1df5257ad8ac91cbbd167cb8b0274ce7"},{"type":"git","status":"affected","fixed":"d94a94c96eb4cccbd6f7d7da5975f0c035b69612"},{"type":"git","status":"affected","fixed":"e0050fc00c500a4fa9ba1f594603c787ff6d20b2"}],"repo":"https://github.com/erlang/otp","source":"eef"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-pwvh-c689-f8q5","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-70399.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-70399","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["web","x-version-scheme"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/d9674f32811cd5bb02b0d6656053b5ee226bc74c","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/6746dc4e1df5257ad8ac91cbbd167cb8b0274ce7","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/d94a94c96eb4cccbd6f7d7da5975f0c035b69612","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/e0050fc00c500a4fa9ba1f594603c787ff6d20b2","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]}],"credits":["Lukas Backström / Erlang Solutions","Konrad Pietrzak / Ericsson"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-01T15:52:45.671Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-70399","url":"https://www.cve.org/CVERecord?id=CVE-2026-70399","licence":"CVE Terms of Use","modified":"2026-11-20T06:05:24.729Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-70399","url":"https://osv.dev/vulnerability/EEF-CVE-2026-70399","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:33.037Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-70399","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70399","licence":"Public domain","modified":"2026-11-20T06:17:38.253Z"}],"updatedAt":"2026-11-25T22:59:35.956Z","epss":{"score":0.0066,"percentile":0.5287,"date":"2026-12-01T12:00:22.000Z"}}