Erlang OTP binary_to_term Heap Overrun Aborts the VM via Zero-Length Reference
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · High
- Fix status
- Partial Red Hat: 1 fixed, 4 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.
Summary
Erlang OTP erts, in its external term format decoder, has an out-of-bounds write (CWE-787) in OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3. A NEWER_REFERENCE_EXT term with a zero-length ID makes binary_to_term/1,2 run past the reserved process heap. An attacker who controls the input can abort the Erlang VM, which stops every process on the node, and supervision, try/catch and the safe option do not prevent it.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
Out-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a NEWER_REFERENCE_EXT term with a zero-length ID. decoded_size in erts/emulator/beam/external.c accepts a reference whose 16-bit Len field is zero, but dec_term always reads one ID word. dec_term then runs 4 bytes ahead of the position that decoded_size validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap. The abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. NEW_REFERENCE_EXT also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap. 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 erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade to OTP 27.3.4.20, OTP 28.5.0.9 or OTP 29.1.3, which correspond to erts 15.2.7.15, 16.4.0.8 and 17.1.2. Red Hat Hardened Images is fixed by RHSA-2026:103406. Red Hat lists no available fix plan for Red Hat OpenStack Platform 13 (Queens), 16.2, 17.1 and 18.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Red Hat 1 advisory
- RHSA-2026:103406 Released 2026-11-24 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images erlang27-27.3.4.20-0.1.hum1@aarch64, erlang27-27.3.4.20-0.1.hum1@s390x, erlang27-27.3.4.20-0.1.hum1@src +47
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 16.2 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 17.1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 18.0 | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Fixed | RHSA-2026:103406 |
Timeline
- 2026-11-24 Threatist record created from CVE-2026-116293
- 2026-11-25 Affected versions changed · Red Hat
- 2026-11-25 CVSS score added · Red Hat
- 2026-11-26 Fix available: RHSA-2026:103406 · Red Hat
- 2026-11-26 Fix available: Red Hat Hardened Images · Red Hat
- 2026-11-27 Affected versions changed · Red Hat
References
More Erlang vulnerabilities
- TI-2025-23504 Unauthenticated remote code execution in Erlang/OTP SSH server KEVCVSS 3.1CRITICAL 10.0
- TI-2026-48954 httpd parks a request worker indefinitely on a malformed chunk size sent after the headers CVSS 4.0HIGH 8.7
- TI-2026-71037 Path traversal in rebar3 via unvalidated dependency app names CVSS 4.0HIGH 7.5
- TI-2026-97472 Register cache flaw in Erlang OTP AArch64 JIT enables VM crash CVSS 4.0MEDIUM 5.9
- TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
- TI-2026-97473 Use after free in Erlang/OTP erts file name normalization on macOS CVSS 4.0MEDIUM 5.7
Sources
- CVE-2026-116293 · CVE Program
- CVE-2026-116293 · NVD
- FIRST EPSS
- CVE-2026-116293 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences