CVE-2026-54890
Vulnerabilidad de desbordamiento negativo de entero (wrap o wraparound) en erlang otp erlang/otp (módulos erts), erlang otp erts (módulos erts) permite el desbordamiento de entero forzado, asignación excesiva. Esta vulnerabilidad está asociada con los archivos de programa erts/emulator/beam/external.c, emulator/beam/external.c.
El gestor de la etiqueta BIT_BINARY_EXT (77) en el decodificador de Formato de Término Externo (ETF) acepta una codificación con los campos de longitud y bits finales (trailing-bits) establecidos a cero.
Leer descripción completaMostrar menos
El cálculo subsiguiente del tamaño de la cadena de bits (bitstring) causa un desbordamiento negativo en un entero sin signo, produciendo un valor de aproximadamente 2^64 que luego se pasa como tamaño de asignación de memoria. El asignador aborta el nodo completo con un mensaje como ’Cannot allocate 2305843009213693951 bytes of memory (of type binary)’.
El fallo es una anulación a nivel de VM, no una excepción a nivel de Erlang. No puede ser interceptado por árboles de supervisión, por try/catch, o pasando la opción [safe] a binary_to_term/2 (que solo restringe la creación de átomos y no realiza la validación estructural de las codificaciones binarias).
Cualquier aplicación que decodifique ETF de fuentes no confiables a través de binary_to_term/1,2 o enif_binary_to_term() está expuesta. El protocolo de distribución de Erlang también decodifica los términos entrantes a través de la misma ruta de código, pero se espera que la distribución se ejecute en redes confiables según las Directrices de Codificación Segura de OTP (DSG-011).
Este problema afecta a OTP desde OTP 27.0 antes de OTP 29.0.4, OTP 28.5.0.4 y OTP 27.3.4.15, correspondiendo a erts desde 15.0 antes de 17.0.4, 16.4.0.4 y 15.2.7.11.
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
- Última modificación del registro 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
T1190Exploit Public-Facing Applicationinitial access85 % - Impacto principal
T1499.004Application or System Exploitationimpact90 %
Vulnerabilidad de underflow en decodificador ETF accesible remotamente sin autenticación (PR:N, UI:N). El atacante fuerza asignación de ~2^64 bytes causando abort de VM, equivalente a DoS de disponibilidad de la aplicación.
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 (2)
Registro NVD
- Estado en NVD
- Modificada
- Publicada
- 27 jul 2026
- Última modificación
- 20 nov 2026
- Vector CVSS
- CVSS:4.0/AV:N/AC:L/AT:P/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-191, CWE-789, CWE-1284
Referencias
- Aviso del fabricantegithub.com/erlang/otp/security/advisories/GHSA-54pw-5645-jh86
- Parchecna.erlef.org/cves/CVE-2026-54890.html
- Parchegithub.com/erlang/otp/commit/24ef4cbaeda9b9c26682cba75f2f15b0c5…
- Parchegithub.com/erlang/otp/commit/dc1bf9344c0ce62717cf60866590cea024…
- Parcheosv.dev/vulnerability/EEF-CVE-2026-54890
- Notas de versiónerlang.org/doc/system/versions.html
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-54890",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-54890",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-27T18:18:57.223218Z"
}
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.5,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"integrityImpact": "NONE",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "NONE"
},
"impactScore": 3.6,
"exploitabilityScore": 3.9
}
],
"cvssMetricV40": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 8.2,
"Automatable": "NOT_DEFINED",
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/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": "PRESENT",
"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": [
"erts"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "15.2.7.11",
"status": "unaffected"
},
{
"at": "16.4.0.4",
"status": "unaffected"
},
{
"at": "17.0.4",
"status": "unaffected"
}
],
"version": "15.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"
],
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "erlang:binary_to_term/1"
},
{
"name": "erlang:binary_to_term/2"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"erts"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.15",
"status": "unaffected"
},
{
"at": "28.5.0.4",
"status": "unaffected"
},
{
"at": "29.0.4",
"status": "unaffected"
}
],
"version": "27.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"erts/emulator/beam/external.c"
],
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "erlang:binary_to_term/1"
},
{
"name": "erlang:binary_to_term/2"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"erts"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"version": "24ef4cbaeda9b9c26682cba75f2f15b0c58722aa",
"lessThan": "dc1bf9344c0ce62717cf60866590cea0242780fd",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"erts/emulator/beam/external.c"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "erlang:binary_to_term/1"
},
{
"name": "erlang:binary_to_term/2"
}
]
}
]
}
],
"published": "2026-07-27T16:17:41.437",
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-54890.html",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/24ef4cbaeda9b9c26682cba75f2f15b0c58722aa",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/dc1bf9344c0ce62717cf60866590cea0242780fd",
"tags": [
"Patch"
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/security/advisories/GHSA-54pw-5645-jh86",
"tags": [
"Vendor Advisory"
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-54890",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://www.erlang.org/doc/system/versions.html#order-of-versions",
"tags": [
"Release Notes"
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"description": [
{
"lang": "en",
"value": "CWE-191"
},
{
"lang": "en",
"value": "CWE-789"
},
{
"lang": "en",
"value": "CWE-1284"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Integer Underflow (Wrap or Wraparound) vulnerability in erlang otp erlang/otp (erts modules), erlang otp erts (erts modules) allows Forced Integer Overflow, Excessive Allocation. This vulnerability is associated with program files erts/emulator/beam/external.c, emulator/beam/external.c.\n\nThe BIT_BINARY_EXT tag (77) handler in the External Term Format (ETF) decoder accepts an encoding with both length and trailing-bits fields set to zero. The subsequent computation of the bitstring size underflows an unsigned integer, producing a value of roughly 2^64 that is then passed as a memory allocation size. The allocator aborts the entire node with a message such as Cannot allocate 2305843009213693951 bytes of memory (of type \"binary\").\n\nThe crash is a VM-level abort, not an Erlang-level exception. It cannot be intercepted by supervision trees, by try/catch, or by passing the [safe] option to binary_to_term/2 (which only restricts atom creation and does not perform structural validation of binary encodings).\n\nAny application that decodes ETF from untrusted sources via binary_to_term/1,2 or enif_binary_to_term() is exposed. The Erlang distribution protocol also decodes incoming terms through the same code path, but distribution is expected to run on trusted networks per the OTP Secure Coding Guidelines (DSG-011).\n\nThis issue affects OTP from OTP 27.0 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to erts from 15.0 before 15.2.7.11, 16.4.0.4, and 17.0.4."
},
{
"lang": "es",
"value": "Vulnerabilidad de desbordamiento negativo de entero (wrap o wraparound) en erlang otp erlang/otp (módulos erts), erlang otp erts (módulos erts) permite el desbordamiento de entero forzado, asignación excesiva. Esta vulnerabilidad está asociada con los archivos de programa erts/emulator/beam/external.c, emulator/beam/external.c.\n\nEl gestor de la etiqueta BIT_BINARY_EXT (77) en el decodificador de Formato de Término Externo (ETF) acepta una codificación con los campos de longitud y bits finales (trailing-bits) establecidos a cero. El cálculo subsiguiente del tamaño de la cadena de bits (bitstring) causa un desbordamiento negativo en un entero sin signo, produciendo un valor de aproximadamente 2^64 que luego se pasa como tamaño de asignación de memoria. El asignador aborta el nodo completo con un mensaje como ’Cannot allocate 2305843009213693951 bytes of memory (of type binary)’.\n\nEl fallo es una anulación a nivel de VM, no una excepción a nivel de Erlang. No puede ser interceptado por árboles de supervisión, por try/catch, o pasando la opción [safe] a binary_to_term/2 (que solo restringe la creación de átomos y no realiza la validación estructural de las codificaciones binarias).\n\nCualquier aplicación que decodifique ETF de fuentes no confiables a través de binary_to_term/1,2 o enif_binary_to_term() está expuesta. El protocolo de distribución de Erlang también decodifica los términos entrantes a través de la misma ruta de código, pero se espera que la distribución se ejecute en redes confiables según las Directrices de Codificación Segura de OTP (DSG-011).\n\nEste problema afecta a OTP desde OTP 27.0 antes de OTP 29.0.4, OTP 28.5.0.4 y OTP 27.3.4.15, correspondiendo a erts desde 15.0 antes de 17.0.4, 16.4.0.4 y 15.2.7.11."
}
],
"lastModified": "2026-11-20T06:17:31.203",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E7740717-E30D-4D4B-8226-037788AA2440",
"versionEndExcluding": "27.3.4.15",
"versionStartIncluding": "27.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E5A403B9-F8C0-42F9-9CDD-AE95FBBA58BC",
"versionEndExcluding": "28.5.0.4",
"versionStartIncluding": "28.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4325E198-43FA-4DD1-99A5-66705CF21615",
"versionEndExcluding": "29.0.4",
"versionStartIncluding": "29.0"
},
{
"criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "11B1C890-908F-4DA6-BA70-903488089424",
"versionEndExcluding": "15.2.7.11",
"versionStartIncluding": "15.0"
},
{
"criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "31D9076A-4078-4597-A518-12B6E55007B8",
"versionEndExcluding": "16.4.0.4",
"versionStartIncluding": "16.0"
},
{
"criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7EC53F68-5A92-4EF5-8789-1905C50D85BF",
"versionEndExcluding": "17.0.4",
"versionStartIncluding": "17.0"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}