CVE-2026-117642
Vulnerabilidad de recursión no controlada en el decodificador del formato externo de términos de Erlang OTP erts, que permite a un atacante que controla la entrada de binary_to_term/1,2 abortar la máquina virtual de Erlang mediante un término fun con funs anidados en sus campos enteros. dec_term en erts/emulator/beam/external.c decodifica los términos de forma iterativa, excepto los campos OldIndex y OldUniq de NEW_FUN_EXT y el campo Arity de EXPORT_EXT. Para estos campos se llama a sí misma, y comprueba que el resultado sea un entero pequeño solo después de que la llamada regrese.
Leer descripción completaMostrar menos
Una entrada que coloque otra fun en uno de estos campos, anidada a una profundidad suficiente, recurre una vez por nivel, agota la pila del hilo del planificador y provoca la caída de la máquina virtual. La entrada debe ser lo bastante grande para alcanzar esa profundidad.
El aborto derriba todos los procesos del nodo. La supervisión, try/catch y la opción safe no lo impiden. enif_binary_to_term() y el protocolo de distribución llegan al mismo decodificador, y se supone que la distribución solo se ejecuta en redes de confianza.
Este fallo afecta a OTP desde OTP 17.0 hasta antes de OTP 27.3.4.20, OTP 28.5.0.9 y OTP 29.1.3, que corresponden a erts desde 6.0 hasta antes de 15.2.7.15, 16.4.0.8 y 17.1.2. Se desconoce si se ve afectado OTP anterior a OTP 17.0, que corresponde a erts anterior a 6.0.
Traducción automática del texto original de NVD (en inglés).
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1068Exploitation for Privilege Escalationprivilege escalation75 % - Impacto principal
T1499Endpoint Denial of Serviceimpact90 %
El vector AV:L/PR:N/UI:N indica escalada local sin interacción (T1068); el texto describe la caída de la VM Erlang por recursión agotando la pila, que tumba todos los procesos del nodo (T1499).
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
Registro NVD
- Estado en NVD
- Pendiente de análisis
- Publicada
- 24 nov 2026
- Última modificación
- 24 nov 2026
- Vector CVSS
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Debilidad (CWE)
- CWE-674
Referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-117642",
"cveTags": [],
"metrics": {
"cvssMetricV40": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 6.9,
"Automatable": "NOT_DEFINED",
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"valueDensity": "NOT_DEFINED",
"vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"availabilityRequirement": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"confidentialityRequirement": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED"
}
}
]
},
"affected": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"affectedData": [
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"erlang",
"external",
"erl_nif"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "15.2.7.15",
"status": "unaffected"
},
{
"at": "16.4.0.8",
"status": "unaffected"
},
{
"at": "17.1.2",
"status": "unaffected"
}
],
"version": "6.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"packageName": "erts",
"programFiles": [
"emulator/beam/external.c",
"emulator/beam/erl_nif.c"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "erlang:binary_to_term/1"
},
{
"name": "erlang:binary_to_term/2"
},
{
"name": "dec_term"
},
{
"name": "enif_binary_to_term"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"erlang",
"external",
"erl_nif"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.20",
"status": "unaffected"
},
{
"at": "28.5.0.9",
"status": "unaffected"
},
{
"at": "29.1.3",
"status": "unaffected"
}
],
"version": "17.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"erts/emulator/beam/external.c",
"erts/emulator/beam/erl_nif.c"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "erlang:binary_to_term/1"
},
{
"name": "erlang:binary_to_term/2"
},
{
"name": "dec_term"
},
{
"name": "enif_binary_to_term"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"erlang",
"external",
"erl_nif"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"version": "84adefa331c4159d432d22840663c38f155cd4c1",
"lessThan": "30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076",
"versionType": "git"
},
{
"status": "unaffected",
"version": "30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"erts/emulator/beam/external.c",
"erts/emulator/beam/erl_nif.c"
],
"collectionURL": "https://github.com",
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "erlang:binary_to_term/1"
},
{
"name": "erlang:binary_to_term/2"
},
{
"name": "dec_term"
},
{
"name": "enif_binary_to_term"
}
]
}
]
}
],
"published": "2026-11-24T15:17:13.267",
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-117642.html",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/security/advisories/GHSA-8575-6vgw-5v3c",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-117642",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://www.erlang.org/doc/system/versions.html#order-of-versions",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}
],
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"description": [
{
"lang": "en",
"value": "CWE-674"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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.\n\nThe 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.\n\nThis 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."
}
],
"lastModified": "2026-11-24T19:12:16.707",
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}