Home / Erlang / OTP / CVE-2026-117642
CVE-2026-117642: is it exploited, and which versions of Erlang OTP are affected and fixed?
CVE-2026-117642 is an uncontrolled recursion vulnerability in Erlang OTP. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:39 UTC). Affected: OTP 6.0 and later and OTP 17.0 and later (CVE record by EEF). Fixed in 15.2.7.15, 16.4.0.8, 17.1.2, 27.3.4.20 and 2 more (CVE record by EEF). Severity: Medium (6.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record December 1, 2026, 16:55 UTC and NVD December 1, 2026, 18:12 UTC.
What is CVE-2026-117642?
binary_to_term Stack Exhaustion via Nested Funs in NEW_FUN_EXT and EXPORT_EXT Aborts the VM
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.
From the CVE record by EEF, last updated December 1, 2026, 16:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Erlang | OTP erts | 6.0 and later | 15.2.7.15, 16.4.0.8, 17.1.2 |
| Erlang | OTP otp | 17.0 and later | 27.3.4.20, 28.5.0.9, 29.1.3 |
| Erlang | OTP erlang/otp | not stated |
As the CVE record by EEF states it, last updated December 1, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-117642?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-117642 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 1, 2026)
- EPSS
- 0.34% probability of exploitation activity in the next 30 days, percentile 29.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-674 Uncontrolled Recursion
Is there a workaround? (from the CVE record)
* Do not call binary_to_term/1,2 on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data. * If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification. * Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input. Note: the [safe] option to binary_to_term/2 does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings.
Where are the vendor advisories and references?
- binary_to_term of Incorrectly Encoded Funs Could Exhausts the VM Stack vendor-advisory, related
- EEF CNA record for CVE-2026-117642 related
- OSV record EEF-CVE-2026-117642 related
- Erlang/OTP version ordering x_version-scheme
- Fix commit 30269e6 in erlang/otp patch
Who found and reported it?
- Khaled Suliman (finder)
- Khaled Suliman (reporter)
- Ingela Anderton Andin (coordinator)
- Jonatan Männchen / EEF (coordinator)
- Sverker Eriksson (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 9, 2026
- Published
- November 24, 2026, 15:09 UTC
- CVE record updated
- December 1, 2026, 16:48 UTC by EEF
- NVD
- Awaiting Analysis, last modified December 1, 2026, 17:17 UTC
- Last checked
- CVE list December 1, 2026, 16:55 UTC; NVD December 1, 2026, 18:12 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect OTP?
- Apr 16, 2025CVE-2025-32433 erlang otp: missing authentication for a critical function exploited
- Nov 24, 2026CVE-2026-115747 Erlang OTP: memory corruption (buffer overflow)
- Nov 24, 2026CVE-2026-125658 Erlang OTP: use after free
- Nov 24, 2026CVE-2026-124286 Erlang OTP: cryptographic signature not verified
- Nov 24, 2026CVE-2026-120961 Erlang OTP: out-of-bounds read
- Nov 24, 2026CVE-2026-116293 Erlang OTP: quantity not validated
- Nov 24, 2026CVE-2026-116225 Erlang OTP: quantity not validated
- Nov 24, 2026CVE-2026-116382 Erlang OTP: denial of service (resources allocated without limits)
Questions about CVE-2026-117642
Is CVE-2026-117642 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 0.34% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Erlang OTP are affected by CVE-2026-117642?
OTP 6.0 and later and OTP 17.0 and later, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-117642?
15.2.7.15, 16.4.0.8, 17.1.2, 27.3.4.20, 28.5.0.9 and 29.1.3, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-117642?
Medium (6.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-117642?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.