Read the docs

Out-of-bounds read in Erlang OTP binary_to_term FLOAT_EXT decoding

Priority LOW 30CWE-125Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · 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. Impact type from CWE-125 and the CVSS impact.

Summary

Erlang OTP from 17.0 before OTP 27.3.4.20, OTP 28.5.0.9 and OTP 29.1.3 contains an out-of-bounds read in the external term format decoder used by binary_to_term. A FLOAT_EXT term without a terminating zero byte makes the decoder scan past the end of the input, so an attacker who controls the input can read memory after it and change one byte there. The VM can also fault when the scan reaches an unmapped page (CWE-125).

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00278 12th percentileScored 2026-11-30
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
ErlangOTP6.0 and later—No fix listedCNA
ErlangOTP17.0 and later—No fix listedCNA
  • OTP VendorErlang Affected 6.0 and later Fixed in — No fix listed CNA
  • OTP VendorErlang Affected 17.0 and later Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*——Erlang
  • cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* Versions — — ·Erlang

Remediation

Upgrade to OTP 27.3.4.20, OTP 28.5.0.9 or OTP 29.1.3, the fixed versions. Red Hat fixes its Red Hat Hardened Images through RHSA-2026:103406. The sources list no fixed version for Red Hat OpenStack Platform 13 (Queens), Red Hat OpenStack Platform 16.2, Red Hat OpenStack Platform 17.1 and Red Hat OpenStack Platform 18.0, and Red Hat lists no available plan for these products.

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 Important
    Red 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 →

ProductStatusPlan or fix
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 16.2AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 17.1AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 18.0AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesFixed RHSA-2026:103406

Timeline

  1. 2026-11-24 Threatist record created from CVE-2026-120961
  2. 2026-11-25 Affected versions changed · Red Hat
  3. 2026-11-25 CVSS score added · Red Hat
  4. 2026-11-26 Fix available: RHSA-2026:103406 · Red Hat
  5. 2026-11-26 Fix available: Red Hat Hardened Images · Red Hat
  6. 2026-11-27 Affected versions changed · Red Hat

References

  • 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
See all 90 →

Sources