Uncontrolled Recursion Vulnerability in Erlang OTP by Erlang Solutions
CVE-2026-117642

6.9MEDIUM

Key Information:

Vendor

Erlang

Status
Vendor
CVE Published:
24 November 2026

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

Score:
6.9
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Khaled Suliman
Khaled Suliman
Ingela Anderton Andin
Jonatan Männchen / EEF
Sverker Eriksson
.