CVE Watchtower

CVE-2026-42792Erlang OTP

NVD

Vulnerability Summary

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.
Severity Level
MEDIUM(6.3)
Published Date
Jul 27, 2026
Last Modified
Nov 20, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.46%Probability
Root Weakness (CWE)
See the MITRE CWE entry for the full definition of this weakness.
The product allocates a reusable resource on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated.
CVSS v4.0 Base Metrics — Score 6.3 (MEDIUM)
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
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)Low
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • Erlang OTP >= 6.0 and < *
  • Erlang OTP >= 17.0 and < *
  • Erlang OTP >= 07b8f441ca711f9812fad9e9115bab3c3aa92f79 and < 865d203e4a6a8f44179eced9e1428f9259e4a3bb
Patched Versions
  • Erlang OTP *
  • Erlang OTP 865d203e4a6a8f44179eced9e1428f9259e4a3bb

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Erlang OTP and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Jul 27, 2026Published
  • Nov 20, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Erlang OTP CVEsYou are reading CVE-2026-42792. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

More Erlang OTP CVEs

Data last checked: Nov 20, 2026 07:13 UTC