CVE-2026-42792

EUVD-2026-49316
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 29.0.4, OTP 28.5.0.4 and OTP 27.3.4.15.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 36.74%
Affected Products (NVD)
VendorProductVersion
erlangerlang/otp
17.0 ≤
𝑥
< 27.3.4
erlangerlang/otp
28.0 ≤
𝑥
< 28.5.0.4
erlangerlang/otp
29.0 ≤
𝑥
< 29.0.4
erlangerts
6.0 ≤
𝑥
< 15.2.7.11
erlangerts
16.0 ≤
𝑥
< 16.4.0.4
erlangerts
17.0 ≤
𝑥
< 17.0.4
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
erlang
bookworm
vulnerable
bookworm (security)
vulnerable
forky
1:29.0.4+dfsg-1
fixed
sid
1:29.0.6+dfsg-1
fixed
trixie
vulnerable
trixie (security)
1:27.3.4.1+dfsg-1+deb13u3
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
erlang
bionic
needs-triage
focal
needs-triage
jammy
needs-triage
noble
needs-triage
resolute
needs-triage
trusty
needs-triage
xenial
needs-triage
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
erlang
suse enterprise sap 15 SP4
23.3.4.19-150300.3.39.1
fixed
suse enterprise sap 15 SP5
23.3.4.19-150300.3.39.1
fixed
suse enterprise sap 15 SP6
23.3.4.19-150300.3.39.1
fixed
suse enterprise sap 15 SP7
23.3.4.19-150300.3.39.1
fixed
suse enterprise server 15 SP4
23.3.4.19-150300.3.39.1
fixed
suse enterprise server 15 SP5
23.3.4.19-150300.3.39.1
fixed
suse enterprise server 15 SP6
23.3.4.19-150300.3.39.1
fixed
suse enterprise server 15 SP7
23.3.4.19-150300.3.39.1
fixed
erlang-epmd
suse enterprise sap 15 SP4
23.3.4.19-150300.3.39.1
fixed
suse enterprise sap 15 SP5
23.3.4.19-150300.3.39.1
fixed
suse enterprise sap 15 SP6
23.3.4.19-150300.3.39.1
fixed
suse enterprise sap 15 SP7
23.3.4.19-150300.3.39.1
fixed
suse enterprise server 15 SP4
23.3.4.19-150300.3.39.1
fixed
suse enterprise server 15 SP5
23.3.4.19-150300.3.39.1
fixed
suse enterprise server 15 SP6
23.3.4.19-150300.3.39.1
fixed
suse enterprise server 15 SP7
23.3.4.19-150300.3.39.1
fixed
erlang26
suse enterprise sap 15 SP6
26.2.1-150300.7.28.1
fixed
suse enterprise sap 15 SP7
26.2.1-150300.7.28.1
fixed
suse enterprise server 15 SP6
26.2.1-150300.7.28.1
fixed
suse enterprise server 15 SP7
26.2.1-150300.7.28.1
fixed
erlang26-epmd
suse enterprise sap 15 SP6
26.2.1-150300.7.28.1
fixed
suse enterprise sap 15 SP7
26.2.1-150300.7.28.1
fixed
suse enterprise server 15 SP6
26.2.1-150300.7.28.1
fixed
suse enterprise server 15 SP7
26.2.1-150300.7.28.1
fixed
Azure Linux logo
Azure Linux Releases
Azure Package
Release
erlang
Azure Linux 3.0
0:26.2.5.21-3.azl3
fixed