Uncontrolled Recursion Vulnerability in Erlang OTP by Erlang Solutions
CVE-2026-117642
What is CVE-2026-117642?
An uncontrolled recursion vulnerability in the Erlang OTP external term format decoder allows attackers to exploit the binary_to_term function. When an attacker controls the input, they can craft terms that cause excessive recursion through integer fields in function terms. This leads to stack exhaustion and crashes the Erlang VM, impacting all processes on the affected node. This vulnerability stems from the way the decoder handles the NEW_FUN_EXT and EXPORT_EXT fields, failing to sufficiently validate inputs. Even with supervision or error handling mechanisms in place, the crash is unavoidable, especially when the input is designed to reach significant recursion levels.
Affected Version(s)
OTP 6.0
OTP 17.0
OTP 84adefa331c4159d432d22840663c38f155cd4c1 < 30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
