Bug 2585006

Summary: CVE-2026-120961 erlang: Erlang: Denial of Service via out-of-bounds read in term decoder [fedora-all]
Product: [Fedora] Fedora Reporter: Marian Rehak <mrehak>
Component: erlangAssignee: Peter Lemenkov <lemenkov>
Status: ON_QA --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jonathan, lemenkov, rhbugs, rich
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["52dae849-ab74-4978-bc0b-e5fe7db10ff5"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2583441    

Description Marian Rehak 2026-11-26 14:17:01 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-11-26 14:46:33 UTC
FEDORA-2026-c6475cc4a5 (erlang-27.3.4.20-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c6475cc4a5

Comment 2 Fedora Update System 2026-11-26 16:44:57 UTC
FEDORA-2026-dde9b390f3 (erlang-26.2.5.21-13.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-dde9b390f3

Comment 3 Fedora Update System 2026-11-26 16:45:01 UTC
FEDORA-2026-7cc028c636 (erlang-26.2.5.21-13.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-7cc028c636

Comment 4 Fedora Update System 2026-11-27 02:31:39 UTC
FEDORA-2026-7cc028c636 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-7cc028c636`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7cc028c636

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-11-27 03:22:25 UTC
FEDORA-2026-dde9b390f3 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-dde9b390f3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-dde9b390f3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-12-04 01:07:10 UTC
FEDORA-2026-c6475cc4a5 (erlang-27.3.4.20-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2026-12-05 01:34:19 UTC
FEDORA-2026-dde9b390f3 (erlang-26.2.5.21-13.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.