CVE-2026-42792
epmd permanent DoS via EMFILE on accept(2) in erts
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. The 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. On 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. This 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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.460% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.3 · published by 6b3ad84c-e1a6-4bf7-a703-f496b71e49dbCVSS: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
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 4.0 · 6.3 · published by EEFCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:34.874Z
CVSS 4.0 · 6.3 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T16:53:14.419Z
CVSS 3.1 · 7.5 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 3.1 · 7.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T16:53:14.419Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:41:35.955Z | NVD |
| epss | verified | 2026-11-19T16:04:50.495Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:53:14.419Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:58:34.874Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:34.874Z | CVE Program |
Affected versions and configuration
Erlang OTP; modules: epmd_srv; default status: unaffected: 17.0 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.15","status":"unaffected"},{"at":"28.5.0.4","status":"unaffected"},{"at":"29.0.4","status":"unaffected"}] Erlang OTP; modules: epmd_srv; default status: unaffected: 6.0 to < * [affected; scheme: otp]; changes: [{"at":"15.2.7.11","status":"unaffected"},{"at":"16.4.0.4","status":"unaffected"},{"at":"17.0.4","status":"unaffected"}] Erlang OTP; modules: epmd_srv; default status: unaffected: 07b8f441ca711f9812fad9e9115bab3c3aa92f79 to < 865d203e4a6a8f44179eced9e1428f9259e4a3bb [affected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "erlang",
"debian": "https://tracker.debian.org/pkg/erlang",
"source": "https://ubuntu.com/security/cve?package=erlang",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=erlang",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:27.3.4.6+dfsg-1ubuntu0.1",
"release_codename": "resolute"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:16.b.3-dfsg-1ubuntu2.2+esm2",
"release_codename": "trusty"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:18.3-dfsg-1ubuntu3.1+esm3",
"release_codename": "xenial"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:20.2.2+dfsg-1ubuntu2+esm3",
"release_codename": "bionic"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:22.2.7+dfsg-1ubuntu0.5+esm2",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:24.2.1+dfsg-1ubuntu0.7",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:25.3.2.8+dfsg-1ubuntu4.7",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:29.0.6+dfsg-1",
"release_codename": "upstream"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"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",
"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:*:*:*:*:*:*:*:*"
],
"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"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-42792",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-27T17:25:58.879765Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-27T17:26:08.579Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"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"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / resolute | erlang | security | 1:27.3.4.6+dfsg-1ubuntu0.1 | Official record |
| distribution-package | Ubuntu / trusty | erlang | esm-infra-legacy | 1:16.b.3-dfsg-1ubuntu2.2+esm2 | Official record |
| distribution-package | Ubuntu / xenial | erlang | esm-infra-legacy | 1:18.3-dfsg-1ubuntu3.1+esm3 | Official record |
| distribution-package | Ubuntu / bionic | erlang | esm-infra | 1:20.2.2+dfsg-1ubuntu2+esm3 | Official record |
| distribution-package | Ubuntu / focal | erlang | esm-infra | 1:22.2.7+dfsg-1ubuntu0.5+esm2 | Official record |
| distribution-package | Ubuntu / jammy | erlang | security | 1:24.2.1+dfsg-1ubuntu0.7 | Official record |
| distribution-package | Ubuntu / noble | erlang | security | 1:25.3.2.8+dfsg-1ubuntu4.7 | Official record |
| upstream-note | upstream / upstream | erlang | Not a distribution channel | 1:29.0.6+dfsg-1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- NVDConsulted: 2026-11-19T12:41:35.955ZArchived source JSON
Source publication: 2026-07-27T16:17:06.257Z
Source modification: 2026-11-11T19:17:40.460ZDocument fingerprint
e759e6d1e6804b37fd78e80e5e8ae7f3aeb60cbc655f9954c7d95508e6d7a6be - Ubuntu SecurityConsulted: 2026-11-19T16:53:14.419ZArchived source JSON
Source publication: 2026-07-27T16:17:00.000Z
Source modification: 2026-11-18T10:41:02.963ZDocument fingerprint
d5cb07a84ea1fc835a9b660805f32861172c667903e8a11c05f4b83f7127320c - CVE ProgramConsulted: 2026-11-19T12:58:34.874ZArchived source JSON
Source publication: 2026-07-27T14:58:24.426Z
Source modification: 2026-11-11T19:09:12.847ZDocument fingerprint
d57e29e73e90aca4aa9afefe649e929992e7d786bb72ef31ce38a9751d094ee3 - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:50.495ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
26803053ff9e9a9c4d07dd9ba39f54847c695213553a324e41cda0e50deeeb02
Official status history
- UNKNOWN → PUBLISHED · · evidence