All vulnerabilities

Servers and applications

CVE-2026-116293

binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM

Severity
High 7.0
Published
24 Nov 2026
Last changed
24 Nov 2026
Added to UpHeron
24 Nov 2026
Fixed in
15.2.7.15, 16.4.0.8, 17.1.2, 27.3.4.20, 28.5.0.9, 29.1.3
Weakness
CWE-1284Out-of-bounds write (CWE-787)Out-of-bounds read (CWE-125)
Attack
Needs local access · No login needed · No user action needed
Attacker can
Read some data · Take it down
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

Description

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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Erlang/OTPServers and applications · cna:erlang|otp
  • From 6.0 before 15.2.7.15
  • From 16 before 16.4.0.8
  • From 17 before 17.1.2
  • From 17.0 before 27.3.4.20
  • From 28 before 28.5.0.9
  • From 29 before 29.1.3
Erlang/OTPServers and applications · cpe:a:erlang:erlang\/otp
  • From 6.0 before 15.2.7.15
  • From 16 before 16.4.0.8
  • From 17 before 17.1.2
  • From 17.0 before 27.3.4.20
  • From 28 before 28.5.0.9
  • From 29 before 29.1.3

About Erlang/OTP

programming language

From Wikidata, CC0 1.0.
Docker Hub pulls
66,231,395Docker Hub, 22 Nov 2026
GitHub stars
12,363GitHub, 22 Nov 2026
Forks
3,223GitHub, 22 Nov 2026
Latest release
OTP-29.1.2GitHub, 22 Nov 2026
Released
14 Oct 2026GitHub
Developer
Joe ArmstrongWikidata
License
Apache License 2.0Wikidata
Written in
CWikidata
First released
1986Wikidata
First published on GitHub
16 Nov 2009GitHub

Release lines

ReleaseLatestSecurity fixes
2929.1.2Until 11 May 2029
2828.5.0.8Until 20 May 2028
2727.3.4.19Until 20 May 2027
2626.2.5.21Ended 26 May 2026
2525.3.2.21Ended 17 May 2025
2424.3.4.17Ended 10 May 2024

From endoflife.date.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116293