CVE-2026-116382: Attacker-controlled ESI headers cause persistent atom-table growth in `inets`

Published Nov 24, 2026
·
Updated

Summary

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

When modesi builds the environment for an ESI callback, httpdscriptenv:httpenvelement/3 checks that a request header name already exists as an atom, then creates the atom http<header-name> with listtoatom/1. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named node creates httpnode, a header named httpnode creates httphttpnode, 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 {erlscriptalias, {"/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 httpnode. 3. Send the same request with a header named httpnode. The node now holds httphttpnode. 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 erlscriptalias from the httpd configuration. Restrict the ESI URL prefixes to trusted clients, for example with modauth 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 proxypassrequestheaders off and add one proxysetheader for each allowed header.

Configurations

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

Other sources

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

When modesi builds the environment for an ESI callback, httpdscriptenv:httpenvelement/3 checks that a request header name already exists as an atom, then creates the atom http<header-name> with listtoatom/1. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named node creates httpnode, a header named httpnode creates httphttpnode, 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.

— MITRE

Affected Software

2 affected components
Ericsson Erlang/OTP>=17.0<27.3.4.20, >=28.0<28.5.0.9, >=29.0<29.1.3
Ericsson inets>=5.10<9.3.2.9, >=9.6.0<9.6.2.5, >=9.8.0<9.8.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 27.3.4.20
  2. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 28.5.0.9
  3. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 29.1.3
  4. Configuration

    If ESI is not needed, remove erl_script_alias from the httpd configuration.

    Erlang OTP inets httpd erl_script_alias = removed
  5. Compensating control

    Place httpd behind a reverse proxy that forwards only an allowlist of standard request headers to ESI URL prefixes. For nginx, set proxy_pass_request_headers off and add one proxy_set_header for each allowed header.

  6. Compensating control

    Restrict ESI URL prefixes to trusted clients, for example by using mod_auth directory protection.

Event History

Nov 24, 2026
CVE Published
via MITRE·03:05 PM
Data Sourced
via MITRE·03:05 PM
DescriptionWeakness
Data Sourced
via OSV·03:05 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to remote exploitation?

An httpd server is exposed when it serves ESI scripts, because requests to any ESI URL can trigger the vulnerable environment-building path. The attacker does not need authentication.

2

What does an attacker need to do to cause an outage?

The attacker sends requests with distinct header names to an ESI URL. Each new name can cause a persistent atom to be created, eventually reaching the VM atom-table limit (+t) and aborting the entire Erlang VM.

3

What is the impact beyond the HTTP server?

When the atom-table limit is reached, the whole Erlang VM aborts. Every application running on that node is therefore affected, not only the httpd service.

4

Which releases are fixed?

Fixed releases are OTP 27.3.4.20, 28.5.0.9, and 29.1.3, corresponding to inets 9.3.2.9, 9.6.2.5, and 9.8.2. Affected versions include OTP 17.0 through versions before those fixes; the status of OTP releases before 17.0 is unknown.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203