CVE-2026-70399httpd does not enforce the documented default max_clients connection limit
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. The 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. This 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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | erlang | Fixed | 1:27.3.4.6+dfsg-1ubuntu0.1 | UBUNTU-CVE-2026-70399 |
| Ubuntu 24.04 | erlang | Fixed | 1:25.3.2.8+dfsg-1ubuntu4.7 | UBUNTU-CVE-2026-70399 |
| Ubuntu 22.04 | erlang | Fixed | 1:24.2.1+dfsg-1ubuntu0.7 | UBUNTU-CVE-2026-70399 |
| Ubuntu 20.04 | erlang | Fix pending | 1:22.2.7+dfsg-1ubuntu0.5+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-70399 |
| Ubuntu 18.04 | erlang | Fix pending | 1:20.2.2+dfsg-1ubuntu2+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-70399 |
| Ubuntu 16.04 | erlang | Fix pending | 1:18.3-dfsg-1ubuntu3.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-70399 |
| Debian 14 | erlang | Fixed | 1:29.0.6+dfsg-1 | DEBIAN-CVE-2026-70399 |
| Debian 13 | erlang | Fixed | 1:27.3.4.1+dfsg-1+deb13u4 | DEBIAN-CVE-2026-70399 |
| Debian 12 | erlang | Fix pending | DEBIAN-CVE-2026-70399 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 5.10 and later; fixed in
9.3.2.7,9.6.2.3,9.7.2 - Erlang OTP: affected: 17.0 and later; fixed in
27.3.4.17,28.5.0.6,29.0.6 - Erlang OTP: affected: d9674f32811cd5bb02b0d6656053b5ee226bc74c and later; fixed in
6746dc4e1df5257ad8ac91cbbd167cb8b0274ce7
Workaround: * 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. * Limit concurrent connections in front of httpd, for example with reverse proxy or firewall connection-count and connection-rate rules. * Restrict access to the server to trusted clients where the deployment allows it.
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-pwvh-c689-f8q5 (vendor-advisory)
- https://github.com/erlang/otp/commit/6746dc4e1df5257ad8ac91cbbd167cb8b0274ce7 (patch)
- https://github.com/erlang/otp/commit/d94a94c96eb4cccbd6f7d7da5975f0c035b69612 (patch)
- https://github.com/erlang/otp/commit/e0050fc00c500a4fa9ba1f594603c787ff6d20b2 (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-pwvh-c689-f8q5
- https://cna.erlef.org/cves/CVE-2026-70399.html
- https://osv.dev/vulnerability/EEF-CVE-2026-70399
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/d9674f32811cd5bb02b0d6656053b5ee226bc74c
- https://github.com/erlang/otp/commit/6746dc4e1df5257ad8ac91cbbd167cb8b0274ce7
- https://github.com/erlang/otp/commit/d94a94c96eb4cccbd6f7d7da5975f0c035b69612
- https://github.com/erlang/otp/commit/e0050fc00c500a4fa9ba1f594603c787ff6d20b2
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.