CVE-2026-68956
Vulnerabilidad de asignación de recursos sin límites ni restricciones en ssh de Erlang/OTP que permite a un atacante remoto autenticado agotar la memoria del nodo abriendo repetidamente canales de sesión a los que nunca se asigna un manejador.
La cláusula "session" de ssh_connection:handle_msg/4 comprueba solo minimal_remote_max_packet_size antes de llamar a setup_session/5, que construye incondicionalmente un registro #channel{} y lo almacena en la caché de canales ETS.
Leer descripción completaMostrar menos
La opción de daemon max_channels solo la consulta ssh_channel_sup:max_num_channels_not_exceeded/2, que cuenta los hijos del supervisor, por lo que un canal que nunca obtiene un manejador de shell, exec o subsystem es invisible para el límite, y establecer la opción en un valor finito no mitiga el ataque. La sección 5.1 del RFC 4254 permite muchos canales de sesión por conexión, y cada registro cuesta solo unos cientos de bytes, por lo que una única conexión autenticada puede acumular canales hasta que el nodo se queda sin memoria y el emulador termina, afectando a todas las aplicaciones que contiene. No se puede obtener contenido de archivos, credenciales ni acceso de escritura.
Este problema afecta a OTP desde OTP 18.1.2 antes de OTP 27.3.4.18, OTP 28.5.0.7 y OTP 29.1.1, correspondientes a ssh desde la 4.1.1 antes de la 5.2.11.13, 5.5.2.6 y 6.0.6. Se desconoce si OTP anterior a OTP 18.1.2, correspondiente a ssh anterior a la 4.1.1, está afectado.
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
- Ú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
T1210Exploitation of Remote Serviceslateral movement85 % - Impacto principal
T1499.004Application or System Exploitationimpact90 %
AV:N/PR:L permite explotación de servicio SSH remoto (T1210). Memoria agotada por canales acumulados causa denegación de servicio por recursos (T1499.004).
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)
⚠ 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
- Aplazada
- Publicada
- 22 sept 2026
- Última modificación
- 20 nov 2026
- Vector CVSS
- CVSS:4.0/AV:N/AC:L/AT:N/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-770
Referencias
- Parchegithub.com/erlang/otp/commit/79c2d2be17d902c5f53969b5806b725efd…
- Parchegithub.com/erlang/otp/commit/84df3d4d0278e21a36a453bfee94799f0d…
- Parchegithub.com/erlang/otp/commit/e18100975f0e5a8d59d02de00df12247a9…
- Parchegithub.com/erlang/otp/commit/e2bbad0107bba41491a4d549686fd023db…
- Referenciacna.erlef.org/cves/CVE-2026-68956.html
- Referenciagithub.com/erlang/otp/security/advisories/GHSA-qhcm-px9c-rvfh
Mostrar 2 referencias másMostrar menos
- Referenciaosv.dev/vulnerability/EEF-CVE-2026-68956
- Referenciaerlang.org/doc/system/versions.html
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-68956",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-68956",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-22T10:12:21.867151Z"
}
}
],
"cvssMetricV40": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 7.1,
"Automatable": "NOT_DEFINED",
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/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": "NONE",
"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": [
"ssh_connection",
"ssh_channel_sup"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "5.2.11.13",
"status": "unaffected"
},
{
"at": "5.5.2.6",
"status": "unaffected"
},
{
"at": "6.0.6",
"status": "unaffected"
}
],
"version": "4.1.1",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:otp/ssh?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"packageName": "ssh",
"programFiles": [
"src/ssh_connection.erl",
"src/ssh_channel_sup.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "ssh_connection:handle_msg/4"
},
{
"name": "ssh_connection:setup_session/5"
},
{
"name": "ssh_channel_sup:max_num_channels_not_exceeded/2"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"ssh_connection",
"ssh_channel_sup"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.18",
"status": "unaffected"
},
{
"at": "28.5.0.7",
"status": "unaffected"
},
{
"at": "29.1.1",
"status": "unaffected"
}
],
"version": "18.1.2",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"lib/ssh/src/ssh_connection.erl",
"lib/ssh/src/ssh_channel_sup.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "ssh_connection:handle_msg/4"
},
{
"name": "ssh_connection:setup_session/5"
},
{
"name": "ssh_channel_sup:max_num_channels_not_exceeded/2"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"ssh_connection",
"ssh_channel_sup"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "79c2d2be17d902c5f53969b5806b725efda831be",
"status": "unaffected"
},
{
"at": "e18100975f0e5a8d59d02de00df12247a91b443b",
"status": "unaffected"
},
{
"at": "e2bbad0107bba41491a4d549686fd023db8740da",
"status": "unaffected"
}
],
"version": "84df3d4d0278e21a36a453bfee94799f0df67c2a",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "79c2d2be17d902c5f53969b5806b725efda831be",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "e18100975f0e5a8d59d02de00df12247a91b443b",
"lessThan": "*",
"versionType": "git"
},
{
"status": "unaffected",
"version": "e2bbad0107bba41491a4d549686fd023db8740da",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"lib/ssh/src/ssh_connection.erl",
"lib/ssh/src/ssh_channel_sup.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "ssh_connection:handle_msg/4"
},
{
"name": "ssh_connection:setup_session/5"
},
{
"name": "ssh_channel_sup:max_num_channels_not_exceeded/2"
}
]
}
]
}
],
"published": "2026-09-22T09:17:05.313",
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-68956.html",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/79c2d2be17d902c5f53969b5806b725efda831be",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/84df3d4d0278e21a36a453bfee94799f0df67c2a",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/e18100975f0e5a8d59d02de00df12247a91b443b",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/e2bbad0107bba41491a4d549686fd023db8740da",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/security/advisories/GHSA-qhcm-px9c-rvfh",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-68956",
"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": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"description": [
{
"lang": "en",
"value": "CWE-770"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Allocation of Resources Without Limits or Throttling vulnerability in Erlang/OTP ssh allows an authenticated remote attacker to exhaust node memory by repeatedly opening session channels that are never assigned a handler.\n\nThe \"session\" clause of ssh_connection:handle_msg/4 checks only minimal_remote_max_packet_size before calling setup_session/5, which unconditionally builds a #channel{} record and stores it in the ETS channel cache. The max_channels daemon option is consulted only by ssh_channel_sup:max_num_channels_not_exceeded/2, which counts supervisor children, so a channel that never gets a shell, exec, or subsystem handler is invisible to the limit and setting the option to a finite value does not mitigate the attack. RFC 4254 section 5.1 permits many session channels per connection, and each record costs only a few hundred bytes, so a single authenticated connection can accumulate channels until the node runs out of memory and the emulator terminates, affecting every application on it. No file contents, credentials, or write access are obtainable.\n\nThis issue affects OTP from OTP 18.1.2 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to ssh from 4.1.1 before 5.2.11.13, 5.5.2.6, and 6.0.6. Whether OTP before OTP 18.1.2, corresponding to ssh before 4.1.1, is affected is unknown."
}
],
"lastModified": "2026-11-20T06:17:37.773",
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}