PT-2026-157819

CVE-2026-120961

·

Published

2026-11-24

·

Updated

2026-11-24

Description by

CVSS 4.0
6.9
Medium
MetricsAV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Erlang OTP versions 17.0 through 27.3.4.19 Erlang OTP versions 28.0 through 28.5.0.8 Erlang OTP versions 29.0 through 29.1.2 erts versions 6.0 through 15.2.7.14 erts versions 16.0 through 16.4.0.7 erts versions 17.0 through 17.1.1
Description An out-of-bounds read exists in the external term format decoder of Erlang OTP erts. An attacker providing crafted input to binary to term/1,2 or enif binary to term() can use a FLOAT EXT term lacking a terminating zero byte to read memory beyond the input buffer. This occurs because the decoded size function in erts/emulator/beam/external.c only verifies the presence of 31 bytes for the FLOAT EXT field, while the dec term function passes this field to sys chars to double(), which scans for a NUL byte without a length limit. If no NUL byte is present, the scan continues into adjacent memory, potentially altering the decoded float value. Additionally, if a radix character (, or .) is found after the field and is not accepted by strtod(), sys chars to double() may overwrite that single byte (e.g., changing a , to a .). The virtual machine may crash if the scan reaches an unmapped memory page. The safe option does not mitigate this issue.
Recommendations Update Erlang OTP to version 27.3.4.20, 28.5.0.9, or 29.1.3. Update erts to version 15.2.7.15, 16.4.0.8, or 17.1.2. Avoid calling binary to term/1,2 on data from untrusted sources. If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification. Use alternative serialization formats such as JSON or Protocol Buffers for untrusted external input.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-R7PF-RPQ8-5PF4
Found an issue in the description? Have something to add? Feel free to write us 👾