EEF-CVE-2026-116382

Source
https://cna.erlef.org/osv/EEF-CVE-2026-116382.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-116382.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-116382
Aliases
  • GHSA-7fjc-wcvc-vp96
  • CVE-2026-116382
Published
2026-11-24T15:05:52Z
Modified
2026-11-24T15:15:03Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N (Source: CNA) CVSS Calculator
Summary
Attacker-controlled ESI headers cause persistent atom-table growth in `inets`
Details

Summary

Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (httpd_script_env module) allows an unauthenticated remote attacker to exhaust the atom table of an httpd server that serves ESI scripts.

When mod_esi builds the environment for an ESI callback, httpd_script_env:http_env_element/3 checks that a request header name already exists as an atom, then creates the atom http_<header-name> with list_to_atom/1. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named node creates http_node, a header named http_node creates http_http_node, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (+t), and then the whole Erlang VM aborts, together with every application on the node.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.

Proof of concept

  1. Start httpd with {erl_script_alias, {"/esi", [Mod]}}, where Mod exports any ESI callback fun/3.
  2. Send GET /esi/Mod:fun with a request header named node. The node now holds the atom http_node.
  3. Send the same request with a header named http_node. The node now holds http_http_node.
  4. Repeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM.

Impact

An unauthenticated remote client can permanently grow the atom table of the node with ordinary HTTP requests. When the table reaches its limit, the Erlang VM aborts and takes down every application on the node, not only httpd.

Workarounds

  • If you do not need ESI, remove erl_script_alias from the httpd configuration.
  • Restrict the ESI URL prefixes to trusted clients, for example with mod_auth directory protection. Authenticated clients can still trigger the issue.
  • Put httpd behind a reverse proxy that forwards only an allowlist of standard request headers to the ESI URL prefixes. For nginx, set proxy_pass_request_headers off and add one proxy_set_header for each allowed header.

Configurations

Only httpd servers with at least one erl_script_alias configured are affected, and only for clients that can reach an ESI URL prefix. Where mod_auth or mod_security directory protection sits in front of mod_esi, only authenticated clients can trigger the issue. CGI scripts served by mod_cgi and the httpc client are not affected.

Database specific
{
    "capec_ids":  [
        "CAPEC-130"
    ],
    "cpe_ids":  [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids":  [
        "CWE-770"
    ]
}
References
Credits
    • John Downey - FINDER
    • Lukas Backström - FINDER
    • John Downey - REPORTER
    • Jonatan Männchen / EEF - COORDINATOR

Affected packages

Git / github.com/erlang/otp

Affected ranges

Type
GIT
Repo
https://github.com/erlang/otp
Events

Affected versions

OTP-17.*
OTP-17.0
OTP-18.*
OTP-18.0
OTP-18.0-rc1
OTP-19.*
OTP-19.0
OTP-19.0-rc1
OTP-19.0-rc2
OTP-20.*
OTP-20.0
OTP-20.0-rc1
OTP-20.0-rc2
OTP-21.*
OTP-21.0
OTP-21.0-rc1
OTP-21.0-rc2
OTP-22.*
OTP-22.0
OTP-22.0-rc1
OTP-22.0-rc2
OTP-22.0-rc3
OTP-23.*
OTP-23.0
OTP-23.0-rc1
OTP-23.0-rc2
OTP-23.0-rc3
OTP-24.*
OTP-24.0
OTP-24.0-rc1
OTP-24.0-rc2
OTP-24.0-rc3
OTP-25.*
OTP-25.0
OTP-25.0-rc1
OTP-25.0-rc2
OTP-25.0-rc3
OTP-26.*
OTP-26.0
OTP-26.0-rc1
OTP-26.0-rc2
OTP-26.0-rc3
OTP-27.*
OTP-27.0
OTP-27.0-rc1
OTP-27.0-rc2
OTP-27.0-rc3
OTP-27.1
OTP-27.2
OTP-27.3
OTP-27.3.1
OTP-27.3.2
OTP-27.3.3
OTP-27.3.4
OTP_17.*
OTP_17.0-rc1
OTP_17.0-rc2
Other
OTP_R13B03
OTP_R13B04
OTP_R14A
OTP_R14B
OTP_R14B01
OTP_R14B02
OTP_R14B03
OTP_R15A
OTP_R15B
OTP_R16A_RELEASE_CANDIDATE
OTP_R16B
patch-base-27

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-116382.json"