CVE-2026-42792
La “vulnerabilidad” de manejo inadecuado de condiciones excepcionales en Erlang OTP erts (epmd) permite a un “atacante” remoto no autenticado terminar permanentemente el demonio mapeador de “puertos” de Erlang (epmd) mediante el agotamiento de ranuras de conexión.
La función do_accept en erts/epmd/src/epmd_srv.c llama a epmd_cleanup_exit() cuando accept(2) devuelve EMFILE (límite de descriptores de archivo por proceso alcanzado) o ENFILE (límite de descriptores de archivo a nivel de sistema alcanzado), en lugar de tratar estas como condiciones recuperables.
Leer descripción completaMostrar menos
Un “atacante” puede agotar las ranuras de descriptores de archivo de epmd manteniendo muchas conexiones TCP abiertas mientras envía periódicamente un solo byte para restablecer el tiempo de espera de inactividad, luego haciendo que accept(2) devuelva EMFILE, lo que mata al demonio. epmd no tiene un límite de conexión por IP de origen, lo que hace que el ataque sea factible desde una única fuente.
En el empaquetado predeterminado de Debian/Ubuntu, el “impacto” se amplifica: la unidad systemd hereda un límite flexible bajo de descriptores de archivo, y las muertes repetidas del demonio activan el límite de tasa de inicio de systemd, fallando permanentemente tanto epmd.service como epmd.socket y requiriendo la intervención manual del operador para recuperarse.
Este problema afecta a OTP desde OTP 17.0 antes de OTP 29.0.4, OTP 28.5.0.4 y OTP 27.3.4.15.
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
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:L/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-755, CWE-770
Referencias
- Aviso del fabricantegithub.com/erlang/otp/security/advisories/GHSA-h6f3-hx58-xhj6
- Parchecna.erlef.org/cves/CVE-2026-42792.html
- Parchegithub.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3a…
- Parchegithub.com/erlang/otp/commit/865d203e4a6a8f44179eced9e1428f9259…
- Parcheosv.dev/vulnerability/EEF-CVE-2026-42792
- Notas de versiónerlang.org/doc/system/versions.html
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-42792",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-42792",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-27T17:25:58.879765Z"
}
}
],
"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": 6.3,
"Automatable": "NOT_DEFINED",
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"valueDensity": "NOT_DEFINED",
"vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/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": "LOW",
"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": [
"epmd_srv"
],
"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": "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": [
"epmd/src/epmd_srv.c"
],
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "do_accept"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"epmd_srv"
],
"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": "17.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"erts/epmd/src/epmd_srv.c"
],
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "do_accept"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"epmd_srv"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"version": "07b8f441ca711f9812fad9e9115bab3c3aa92f79",
"lessThan": "865d203e4a6a8f44179eced9e1428f9259e4a3bb",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"erts/epmd/src/epmd_srv.c"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "do_accept"
}
]
}
]
}
],
"published": "2026-07-27T16:17:06.257",
"references": [
{
"url": "https://cna.erlef.org/cves/CVE-2026-42792.html",
"tags": [
"Patch",
"Third Party Advisory"
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79",
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/commit/865d203e4a6a8f44179eced9e1428f9259e4a3bb",
"tags": [
"Patch"
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://github.com/erlang/otp/security/advisories/GHSA-h6f3-hx58-xhj6",
"tags": [
"Vendor Advisory"
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-42792",
"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-755"
},
{
"lang": "en",
"value": "CWE-770"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Improper Handling of Exceptional Conditions vulnerability in Erlang OTP erts (epmd) allows an unauthenticated remote attacker to permanently terminate the Erlang Port Mapper Daemon (epmd) via connection slot exhaustion.\n\nThe do_accept function in erts/epmd/src/epmd_srv.c calls epmd_cleanup_exit() when accept(2) returns EMFILE (per-process file descriptor limit reached) or ENFILE (system-wide file descriptor limit reached), rather than treating these as recoverable conditions. An attacker can exhaust epmd's file descriptor slots by holding many TCP connections open while periodically sending a single byte to reset the idle timeout, then causing accept(2) to return EMFILE, which kills the daemon. epmd has no per-source-IP connection cap, making the attack feasible from a single source.\n\nOn Debian/Ubuntu default packaging the impact is amplified: the systemd unit inherits a low file descriptor soft limit, and repeated daemon deaths trigger systemd's start-rate-limit, permanently failing both epmd.service and epmd.socket and requiring manual operator intervention to recover.\n\nThis issue affects OTP from OTP 17.0 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to erts from 6.0 before 15.2.7.11, 16.4.0.4, and 17.0.4."
},
{
"lang": "es",
"value": "La “vulnerabilidad” de manejo inadecuado de condiciones excepcionales en Erlang OTP erts (epmd) permite a un “atacante” remoto no autenticado terminar permanentemente el demonio mapeador de “puertos” de Erlang (epmd) mediante el agotamiento de ranuras de conexión.\n\nLa función do_accept en erts/epmd/src/epmd_srv.c llama a epmd_cleanup_exit() cuando accept(2) devuelve EMFILE (límite de descriptores de archivo por proceso alcanzado) o ENFILE (límite de descriptores de archivo a nivel de sistema alcanzado), en lugar de tratar estas como condiciones recuperables. Un “atacante” puede agotar las ranuras de descriptores de archivo de epmd manteniendo muchas conexiones TCP abiertas mientras envía periódicamente un solo byte para restablecer el tiempo de espera de inactividad, luego haciendo que accept(2) devuelva EMFILE, lo que mata al demonio. epmd no tiene un límite de conexión por IP de origen, lo que hace que el ataque sea factible desde una única fuente.\n\nEn el empaquetado predeterminado de Debian/Ubuntu, el “impacto” se amplifica: la unidad systemd hereda un límite flexible bajo de descriptores de archivo, y las muertes repetidas del demonio activan el límite de tasa de inicio de systemd, fallando permanentemente tanto epmd.service como epmd.socket y requiriendo la intervención manual del operador para recuperarse.\n\nEste problema afecta a OTP desde OTP 17.0 antes de OTP 29.0.4, OTP 28.5.0.4 y OTP 27.3.4.15."
}
],
"lastModified": "2026-11-20T06:17:27.310",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "10384C63-57E8-4397-AE79-E964B7BD34F6",
"versionEndExcluding": "27.3.4",
"versionStartIncluding": "17.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": "076E547B-651B-4CE7-B0D1-FC9F00E87794",
"versionEndExcluding": "15.2.7.11",
"versionStartIncluding": "6.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"
}