# CVE-2026-42792: epmd permanent DoS via EMFILE on accept(2) in erts

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-27 · Modified: 2026-11-20
- Aliases: UBUNTU-CVE-2026-42792, DEBIAN-CVE-2026-42792
- Record: https://cvemate.com/vulnerability/CVE-2026-42792 · JSON: https://cvemate.com/vulnerability/CVE-2026-42792/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.67%, percentile 53.367%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian erlang (Debian): All versions (No fix recorded) \| \< 1:27.3.4.1+dfsg-1+deb13u3 \| \< 1:29.0.4+dfsg-1
- ubuntu erlang (Ubuntu): \< 1:16.b.3-dfsg-1ubuntu2.2+esm2 \| \< 1:18.3-dfsg-1ubuntu3.1+esm3 \| \< 1:20.2.2+dfsg-1ubuntu2+esm3 \| \< 1:22.2.7+dfsg-1ubuntu0.5+esm2 \| \< 1:24.2.1+dfsg-1ubuntu0.7 \| \< 1:25.3.2.8+dfsg-1ubuntu4.7 \| \< 1:27.3.4.6+dfsg-1ubuntu0.1
- erlang erlang\\/otp: ≥ 17.0, \< 27.3.4 \| ≥ 28.0, \< 28.5.0.4 \| ≥ 29.0, \< 29.0.4
- erlang erts: ≥ 6.0, \< 15.2.7.11 \| ≥ 16.0, \< 16.4.0.4 \| ≥ 17.0, \< 17.0.4
- erlang otp: ≥ 6.0 (No fix recorded) \| ≥ 17.0 (No fix recorded) \| ≥ 07b8f441ca711f9812fad9e9115bab3c3aa92f79, \< 865d203e4a6a8f44179eced9e1428f9259e4a3bb

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-h6f3-hx58-xhj6>
- <https://cna.erlef.org/cves/CVE-2026-42792.html>
- <https://osv.dev/vulnerability/EEF-CVE-2026-42792>
- <https://www.erlang.org/doc/system/versions.html#order-of-versions>
- <https://github.com/erlang/otp/commit/865d203e4a6a8f44179eced9e1428f9259e4a3bb>
- <https://ubuntu.com/security/CVE-2026-42792>
- <https://www.cve.org/CVERecord?id=CVE-2026-42792>
- <https://ubuntu.com/security/notices/USN-8827-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-42792>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42792>
- <https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79>

---

Data as of 2026-12-05T07:33:49.008Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
