Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach app endpoint accepting serialized terms
-
DeliveryCraft FLOAT_EXT term without NUL terminator
-
ExploitSubmit to binary_to_term/enif_binary_to_term
-
ExecutionDecoder scans past field into adjacent memory
-
PersistScan hits unmapped page
-
ImpactAbort Erlang VM node (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to pass attacker-controlled data into binary_to_term/1,2 or enif_binary_to_term() (or to expose the Erlang distribution protocol to an untrusted network, which contradicts the OTP Secure Coding Guidelines that assume distribution runs only on trusted networks). The malicious term must be an old-style FLOAT_EXT (tag 99) encoding whose 31-byte field lacks a terminating zero byte. Key limiting factors: the [safe] option does NOT prevent this crash (it only restricts atom creation, not structural validation); impact is bounded to a VM abort (node-wide DoS), a single radix-byte overwrite (',' becomes '.'), and a value-dependent out-of-bounds read reflected in the decoded float - no arbitrary write, memory corruption beyond one byte, or code execution. A VM fault only occurs when the unbounded scan actually reaches an unmapped page; applications that never deserialize untrusted input are not exposed. |
| Impact | This is a moderate, availability-only issue rather than a top-priority emergency. The vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing and no EPSS value was provided, and the vendor explicitly rules out arbitrary write and code execution - the realistic worst case is a denial of service (the whole Erlang node aborts, killing every process; neither supervision, try/catch nor the [safe] option can intercept it) plus a value-dependent one-byte mutation and a marginal memory-content leak into the decoded float. Signals are internally consistent on impact (CWE-125 out-of-bounds read, GHSA adds CWE-787 for the single-byte write; official CVSS 4.0 6.9 with VC:N/VI:N/VA:H), but the attack-vector metric is worth scrutiny: OTP assigned AV:L, reasoning that the direct trigger is a local binary_to_term call and that the network distribution path is 'assumed trusted,' yet in practice most vulnerable applications feed network-sourced, attacker-controlled bytes straight into binary_to_term - so for those deployments the effective reach is network, not local (see assessed vector). Exploitation requires that an application actually deserializes untrusted input, so blast radius depends heavily on how OTP is used, not on the runtime merely being installed. No confirmed in-the-wild exploitation exists; the fix commit ships a regression test containing the triggering FLOAT_EXT input (a public reproducer), but that is not verified as weaponized exploit code. |
| Exploit ScenarioDerived | An application calls binary_to_term/1,2 (or enif_binary_to_term()) on data received from an untrusted source; an attacker submits a crafted FLOAT_EXT (tag 99) term whose 31-byte float field has no terminating NUL byte. sys_chars_to_double then scans past the input into adjacent memory, altering the decoded float and, if the scan reaches an unmapped page, faulting the VM and aborting the entire node (DoS). A public reproducer for the triggering input exists in the fix commit's regression test, though no weaponized exploit was demonstrated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 24, 2026
Out-of-bounds read and a one-byte mutation in Erlang/OTP's external term format decoder let unauthenticated attackers who control input to binary_to_term/1,2, enif_binary_to_term(), or the distribution protocol crash an entire VM node by supplying an old-style FLOAT_EXT (tag 99) term whose 31-byte field is not NUL-terminated. Affected are OTP releases from 17.0 up to before 27.3.4.20, 28.5.0.9, and 29.1.3 (erts 6.0 before 15.2.7.15, 16.4.0.8, 17.1.2); the impact is availability-only - the scan can run past the input into memory that alters the decoded float, overwrite a single radix byte (',' becomes '.'), or fault the VM when it reaches an unmapped page, and no arbitrary write or code execution was demonstrated. The [safe] option does not mitigate the crash, distribution over untrusted networks is outside the OTP Secure Coding Guidelines' threat model, and no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patches are available: upgrade to OTP 27.3.4.20, OTP 28.5.0.9, or OTP 29.1.3 (erts 15.2.7.15, 16.4.0.8, or 17.1.2 respectively), which contain the external.c change that copies the FLOAT_EXT field into a terminated buffer (commit 4b954b8aa0f601a0d8d45f0953c77585afb6f853); see https://github.com/erlang/otp/security/advisories/GHSA-r7pf-rpq8-5pf4 and https://cna.erlef.org/cves/CVE-2026-120961.html. Where upgrading is not immediately possible, the vendor's stated workarounds apply: stop passing untrusted data to binary_to_term/1,2 or enif_binary_to_term() entirely (Secure Coding Guidelines DSG-011) - this requires auditing every decode path and rejecting non-structural input, since the [safe] option to binary_to_term/2 does not protect against this abort; if the distribution protocol must cross an untrusted network, configure it with TLS and client certificate verification, which adds certificate lifecycle management and connection overhead and only covers the distribution code path, not application-level decoding; or replace Erlang external term format with JSON or Protocol Buffers at the untrusted boundary, which requires coordinated changes on both ends of the interface.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Erlang external term format encodes terms passed to binary_to_term/1,2, enif_binary_to_term(), and the distribution protocol; the legacy FLOAT_EXT tag (99) carries a fixed 31-byte ASCII decimal field. In erts/emulator/beam/external.c, decoded_size validates only that those 31 bytes are present, then dec_term hands the raw pointer into sys_chars_to_double, which locates the end of the number by scanning for a NUL and ultimately defers to strtod. Because the field is attacker-supplied and need not be terminated, the scan continues into adjacent memory (CWE-125 out-of-bounds read) and the resulting bytes change the decoded float value; if the locale radix character is found past the field and strtod rejects it, sys_chars_to_double rewrites that single byte, a documented one-byte out-of-bounds write (CWE-787) limited to the radix character. If the scan crosses into an unmapped page the VM faults, and the abort takes down every process on the node - supervision, try/catch, and the [safe] flag cannot intercept it, since [safe] only restricts atom creation rather than validating binary structure. The upstream fix (commit 4b954b8aa0f601a0d8d45f0953c77585afb6f853) copies 31 bytes into a 33-byte stack buffer, appends '!' and a NUL terminator so unterminated input fails cleanly, and adds the malformed FLOAT_EXT cases to erts/emulator/test/binary_SUITE.erl. The root cause class is missing length validation on a variable-length, non-terminated input before passing it to a NUL-terminated string API.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
AV:N because vulnerable apps typically feed network-sourced data to binary_to_term (OTP chose AV:L for the direct local call); no auth/UI in the sink; impact is node-wide abort so A:H, with no meaningful C/I.
Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).
CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Lifecycle Timeline
1DescriptionCVE.org
Out-of-bounds Read 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 read memory after the input, and to change one byte there, via a FLOAT_EXT term without a terminating zero byte. decoded_size in erts/emulator/beam/external.c checks only that the 31 bytes of the FLOAT_EXT field are present. dec_term then passes the field to sys_chars_to_double, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and strtod does not accept it, sys_chars_to_double overwrites that byte (a , becomes a .). The VM can fault if the scan reaches an unmapped page.
The safe option does not prevent this. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown.
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-134150
NVD
CVE.org
EPSS
GitHub
Exploit-DB