CVE-2026-125658
Vulnerabilidad de Use After Free en erts de Erlang/OTP que permite a un atacante que pueda crear una entrada del sistema de archivos con un nombre elegido bloquear o abortar la VM de Erlang en macOS.
En macOS, la VM decodifica los nombres de archivo con do_utf8_to_list_normalize en erts/emulator/beam/erl_unicode.c. Cuando un nombre empieza por un carácter combinante, como U+0301, cleanup_norm construye las primeras celdas de la lista, pero no devuelve su puntero de heap avanzado.
Leer descripción completaMostrar menos
Después, el llamador libera las palabras de heap que contienen esas celdas, y la lista devuelta hace referencia a memoria de heap del proceso ya liberada, que la siguiente asignación sobrescribe. file:list_dir/1, file:list_dir_all/1, file:del_dir_r/1 y filelib:wildcard/1 sobre un directorio que contiene un nombre de este tipo no devuelven el control, y la VM no se detiene al recibir SIGTERM. file:read_link/1 sobre un enlace simbólico con un destino de este tipo aborta la VM con size_object: bad tag. Solo se ha demostrado una pérdida de disponibilidad.
Esta vulnerabilidad afecta a OTP desde la versión 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 la 6.0 hasta antes de 15.2.7.15, 16.4.0.8 y 17.1.2.
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 escalation80 % - Impacto principal
T1499Endpoint Denial of Serviceimpact90 %
Vector AV:L/UI:N sin interacción y el texto describe cuelgue o aborto de la VM con solo pérdida de disponibilidad (VA:H), lo que encaja con 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:P/PR:L/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-416
Referencias
- Parchegithub.com/erlang/otp/commit/322b04488d9445c7258abce3e7f3bc79aa…
- Parchegithub.com/erlang/otp/commit/9622ab2132e2501ee5769357a914dcc663…
- Referenciacna.erlef.org/cves/CVE-2026-125658.html
- Referenciagithub.com/erlang/otp/security/advisories/GHSA-2pqq-qr2r-wgcc
- Referenciaosv.dev/vulnerability/EEF-CVE-2026-125658
- Referenciaerlang.org/doc/system/versions.html
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-125658",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-125658",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-24T16:28:46.739978Z"
}
}
],
"cvssMetricV40": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 5.7,
"Automatable": "NOT_DEFINED",
"attackVector": "LOCAL",
"baseSeverity": "MEDIUM",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/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": "PRESENT",
"privilegesRequired": "LOW",
"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": [
"prim_file"
],
"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/erl_unicode.c",
"preloaded/src/prim_file.erl"
],
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "cleanup_norm"
},
{
"name": "do_utf8_to_list_normalize"
},
{
"name": "prim_file_internal_native2name_1"
},
{
"name": "prim_file:internal_native2name/1"
},
{
"name": "prim_file:list_dir/1"
},
{
"name": "prim_file:list_dir_all/1"
},
{
"name": "prim_file:read_link/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"prim_file"
],
"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/erl_unicode.c",
"erts/preloaded/src/prim_file.erl"
],
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "cleanup_norm"
},
{
"name": "do_utf8_to_list_normalize"
},
{
"name": "prim_file_internal_native2name_1"
},
{
"name": "prim_file:internal_native2name/1"
},
{
"name": "prim_file:list_dir/1"
},
{
"name": "prim_file:list_dir_all/1"
},
{
"name": "prim_file:read_link/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"prim_file"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"version": "9622ab2132e2501ee5769357a914dcc6635e515c",
"lessThan": "322b04488d9445c7258abce3e7f3bc79aa7c45d8",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"erts/emulator/beam/erl_unicode.c",
"erts/preloaded/src/prim_file.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "cleanup_norm"
},
{
"name": "do_utf8_to_list_normalize"
},
{
"name": "prim_file_internal_native2name_1"
},
{
"name": "prim_file:internal_native2name/1"
},
{
"name": "prim_file:list_dir/1"
},
{
"name": "prim_file:list_dir_all/1"
},
{
"name": "prim_file:read_link/1"
}
]
}
]
}
],
"published": "2026-11-24T16:17:53.807",
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-125658.html",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/322b04488d9445c7258abce3e7f3bc79aa7c45d8",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/9622ab2132e2501ee5769357a914dcc6635e515c",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/security/advisories/GHSA-2pqq-qr2r-wgcc",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-125658",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://www.erlang.org/doc/system/versions.html#order-of-versions",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-125658.html",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-125658",
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"description": [
{
"lang": "en",
"value": "CWE-416"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Use After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS.\n\nOn macOS, the VM decodes file names with do_utf8_to_list_normalize in erts/emulator/beam/erl_unicode.c. When a name starts with a combining mark, such as U+0301, cleanup_norm builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. file:list_dir/1, file:list_dir_all/1, file:del_dir_r/1 and filelib:wildcard/1 on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. file:read_link/1 on a symbolic link with such a target aborts the VM with size_object: bad tag. Only loss of availability was demonstrated.\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."
}
],
"lastModified": "2026-11-24T19:12:16.707",
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}