Servers and applications
CVE-2026-120961
binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM
- Severity
- Medium 6.9
- 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
- Out-of-bounds read (CWE-125)
- Attack
- Needs local access · No login needed · No user action needed
- Attacker can
- Take it down
- CVSS vector
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- Sources
- CVE Program
Description
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.
Affected software
| Software | Affected versions |
|---|---|
Erlang/OTPServers and applications · cna:erlang|otp |
|
Erlang/OTPServers and applications · cpe:a:erlang:erlang\/otp |
|
About Erlang/OTP
programming language
- 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
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 29 | 29.1.2 | Until 11 May 2029 |
| 28 | 28.5.0.8 | Until 20 May 2028 |
| 27 | 27.3.4.19 | Until 20 May 2027 |
| 26 | 26.2.5.21 | Ended 26 May 2026 |
| 25 | 25.3.2.21 | Ended 17 May 2025 |
| 24 | 24.3.4.17 | Ended 10 May 2024 |
From endoflife.date.
Vulnerabilities in Erlang/OTP
- In our list
- 75
- Published in the last 12 months
- 63
- Critical, last 12 months
- 3
- High, last 12 months
- 31
- Known exploited
- 1
- CVE-2026-115747AArch64 JIT register-cache bug allows VM denial of service via XMLMedium 5.9 24 Nov 2026
- CVE-2026-125658Use after free in erts file name normalization on macOSMedium 5.7 24 Nov 2026
- CVE-2026-124286TLS 1.2 Client Completes Handshake Without a Server CertificateCritical 9.1 24 Nov 2026
- CVE-2026-117642binary_to_term Stack Exhaustion via Nested Funs in NEW_FUN_EXT and EXPORT_EXT Aborts the VMMedium 6.9 24 Nov 2026
- CVE-2026-116293binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VMHigh 7.0 24 Nov 2026
- CVE-2026-116225Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier DecodingHigh 8.7 24 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120961