Bug 2585002 - CVE-2026-117642 erlang: erlang: Denial of Service via uncontrolled recursion in external term decoder [fedora-all]
Summary: CVE-2026-117642 erlang: erlang: Denial of Service via uncontrolled recursion ...
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: erlang
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["dcee3217-877d-4169-83bc-c...
Depends On:
Blocks: CVE-2026-117642
TreeView+ depends on / blocked
 
Reported: 2026-11-26 14:14 UTC by Marian Rehak
Modified: 2026-12-05 01:34 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marian Rehak 2026-11-26 14:14:21 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.

Uncontrolled Recursion 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 fun term with funs nested in its integer fields. dec_term in erts/emulator/beam/external.c decodes terms iteratively, except for the OldIndex and OldUniq fields of NEW_FUN_EXT and the Arity field of EXPORT_EXT. For these fields it calls itself, and it checks that the result is a small integer only after the call returns. An input that places another fun in such a field, nested to sufficient depth, recurses once per level, exhausts the stack of the scheduler thread and crashes the VM. The input must be large enough to reach that depth.

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.

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:30 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:54 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:44:59 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:37 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:23 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:07 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:17 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.


Note You need to log in before you can comment on or make changes to this bug.