{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","modules":["httpd_script_env","mod_esi"],"packageName":"inets","packageURL":"pkg:otp/inets?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git","product":"OTP","programFiles":["src/http_server/httpd_script_env.erl","src/http_server/mod_esi.erl"],"programRoutines":[{"name":"httpd_script_env:http_env_element/3"},{"name":"httpd_script_env:create_env/3"},{"name":"mod_esi:do/1"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"changes":[{"at":"9.3.2.9","status":"unaffected"},{"at":"9.6.2.5","status":"unaffected"},{"at":"9.8.2","status":"unaffected"}],"lessThan":"*","status":"affected","version":"5.10","versionType":"otp"}]},{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","modules":["httpd_script_env","mod_esi"],"packageName":"otp","packageURL":"pkg:software-id/erlang.org/otp","product":"OTP","programFiles":["lib/inets/src/http_server/httpd_script_env.erl","lib/inets/src/http_server/mod_esi.erl"],"programRoutines":[{"name":"httpd_script_env:http_env_element/3"},{"name":"httpd_script_env:create_env/3"},{"name":"mod_esi:do/1"}],"vendor":"Erlang","versions":[{"changes":[{"at":"27.3.4.20","status":"unaffected"},{"at":"28.5.0.9","status":"unaffected"},{"at":"29.1.3","status":"unaffected"}],"lessThan":"*","status":"affected","version":"17.0","versionType":"otp"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","modules":["httpd_script_env","mod_esi"],"packageName":"erlang/otp","packageURL":"pkg:github/erlang/otp","product":"OTP","programFiles":["lib/inets/src/http_server/httpd_script_env.erl","lib/inets/src/http_server/mod_esi.erl"],"programRoutines":[{"name":"httpd_script_env:http_env_element/3"},{"name":"httpd_script_env:create_env/3"},{"name":"mod_esi:do/1"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"lessThan":"5c5c8c038ae7044368bc7bc1eedea09d77a3047a","status":"affected","version":"84adefa331c4159d432d22840663c38f155cd4c1","versionType":"git"},{"lessThan":"*","status":"unaffected","version":"5c5c8c038ae7044368bc7bc1eedea09d77a3047a","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Only <code>httpd</code> servers with at least one <code>erl_script_alias</code> configured are affected, and only for clients that can reach an ESI URL prefix. Where <code>mod_auth</code> or <code>mod_security</code> directory protection sits in front of <code>mod_esi</code>, only authenticated clients can trigger the issue. CGI scripts served by <code>mod_cgi</code> and the <code>httpc</code> client are not affected.</p>"},{"base64":false,"type":"text/markdown","value":"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."}],"value":"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."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"27.3.4.20","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"28.5.0.9","versionStartIncluding":"28.0","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"29.1.3","versionStartIncluding":"29.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"John Downey"},{"lang":"en","type":"finder","value":"Lukas Backström"},{"lang":"en","type":"reporter","value":"John Downey"},{"lang":"en","type":"coordinator","value":"Jonatan Männchen / EEF"}],"dateAssigned":"2026-10-29T16:00:29.000Z","datePublic":"2026-11-24T15:05:51.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (<code>httpd_script_env</code> module) allows an unauthenticated remote attacker to exhaust the atom table of an <code>httpd</code> server that serves ESI scripts.</p>\n<p>When <code>mod_esi</code> builds the environment for an ESI callback, <code>httpd_script_env:http_env_element/3</code> checks that a request header name already exists as an atom, then creates the atom <code>http_&lt;header-name&gt;</code> with <code>list_to_atom/1</code>. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named <code>node</code> creates <code>http_node</code>, a header named <code>http_node</code> creates <code>http_http_node</code>, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (<code>+t</code>), and then the whole Erlang VM aborts, together with every application on the node.</p>\n<p>This issue affects OTP from OTP&nbsp;17.0 before OTP&nbsp;27.3.4.20, OTP&nbsp;28.5.0.9, and OTP&nbsp;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&nbsp;17.0, corresponding to inets before 5.10, is affected is unknown.</p>"},{"base64":false,"type":"text/markdown","value":"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.\n\nWhen `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.\n\nThis 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."}],"value":"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.\n\nWhen 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.\n\nThis 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."}],"impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>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 <code>httpd</code>.</p>"},{"base64":false,"type":"text/markdown","value":"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`."}],"value":"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."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"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:P/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-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-24T15:05:52.681Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"Attacker-controlled ESI headers cause persistent atom-table growth in `inets`","tags":["vendor-advisory","related"],"url":"https://github.com/erlang/otp/security/advisories/GHSA-7fjc-wcvc-vp96"},{"name":"EEF CNA record for CVE-2026-116382","tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-116382.html"},{"name":"OSV record EEF-CVE-2026-116382","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-116382"},{"name":"Erlang/OTP version ordering","tags":["x_version-scheme"],"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"name":"Fix commit 5c5c8c0 in erlang/otp","tags":["patch"],"url":"https://github.com/erlang/otp/commit/5c5c8c038ae7044368bc7bc1eedea09d77a3047a"}],"source":{"discovery":"EXTERNAL"},"title":"Attacker-controlled ESI headers cause persistent atom-table growth in `inets`","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ul>\n<li>If you do not need ESI, remove <code>erl_script_alias</code> from the <code>httpd</code> configuration.</li>\n<li>Restrict the ESI URL prefixes to trusted clients, for example with <code>mod_auth</code> directory protection. Authenticated clients can still trigger the issue.</li>\n<li>Put <code>httpd</code> behind a reverse proxy that forwards only an allowlist of standard request headers to the ESI URL prefixes. For nginx, set <code>proxy_pass_request_headers off</code> and add one <code>proxy_set_header</code> for each allowed header.</li>\n</ul>"},{"base64":false,"type":"text/markdown","value":"* If you do not need ESI, remove `erl_script_alias` from the `httpd` configuration.\n* Restrict the ESI URL prefixes to trusted clients, for example with `mod_auth` directory protection. Authenticated clients can still trigger the issue.\n* 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."}],"value":"* If you do not need ESI, remove erl_script_alias from the httpd configuration.\n* Restrict the ESI URL prefixes to trusted clients, for example with mod_auth directory protection. Authenticated clients can still trigger the issue.\n* 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."}],"x_proofOfConcept":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ol>\n<li>Start <code>httpd</code> with <code>{erl_script_alias, {\"/esi\", [Mod]}}</code>, where <code>Mod</code> exports any ESI callback <code>fun/3</code>.</li>\n<li>Send <code>GET /esi/Mod:fun</code> with a request header named <code>node</code>. The node now holds the atom <code>http_node</code>.</li>\n<li>Send the same request with a header named <code>http_node</code>. The node now holds <code>http_http_node</code>.</li>\n<li>Repeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM.</li>\n</ol>"},{"base64":false,"type":"text/markdown","value":"1. Start `httpd` with `{erl_script_alias, {\"/esi\", [Mod]}}`, where `Mod` exports any ESI callback `fun/3`.\n2. Send `GET /esi/Mod:fun` with a request header named `node`. The node now holds the atom `http_node`.\n3. Send the same request with a header named `http_node`. The node now holds `http_http_node`.\n4. Repeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM."}],"value":"* Start httpd with {erl_script_alias, {\"/esi\", [Mod]}}, where Mod exports any ESI callback fun/3.\n* Send GET /esi/Mod:fun with a request header named node. The node now holds the atom http_node.\n* Send the same request with a header named http_node. The node now holds http_http_node.\n* Repeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-116382","datePublished":"2026-11-24T15:05:52.681Z","dateReserved":"2026-10-28T13:15:01.637Z","dateUpdated":"2026-11-24T15:05:52.681Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}