Vulnerability in Erlang Erlang\/otp
CVE-2026-55950
Time-of-check Time-of-use (TOCTOU) race condition vulnerability in Erlang/OTP ssl (dtls_packet_demux module) allows an unauthenticated remote attacker to crash all active DTLS sessions on a listener. A DTLS server listener uses a single shared dtls_packet_demux gen_server process to route incoming UDP datagrams to the correct connection handler. When a DTLS client reconnects rapidly from the same source address and port (sending multiple ClientHello messages in quick succession), a race condition in the demux's internal gb_trees key-value store causes a {key_exists, {old, Client}} crash, terminating the demux process. Because the demux is shared across all DTLS associations on that listener, its crash immediately kills every active DTLS session, not just the attacker's. The attack is pre-authentication: the attacker only needs to send UDP datagrams containing valid ClientHello messages from the same source IP and port before the intermediate DOWN monitor message is processed by the gen_server. No credentials, no completed handshake, and no special configuration are required, and the crash can be repeated indefinitely to create a persistent denial of service for all clients of that listener. This vulnerability is associated with program file lib/ssl/src/dtls_packet_demux.erl. This issue affects OTP from OTP 25.3 before OTP 29.0.3, OTP 28.5.0.3 and OTP 27.3.4.14, corresponding to ssl from 10.9 before 11.7.3, 11.6.0.3 and 11.2.12.10.
Vulnerability class: TOCTOU (Time-of-Check to Time-of-Use)
EPSS: 0.004 (30.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Erlang Erlang\/otp
- Erlang Erlang\/ssl
- Erlang Otp — versions 10.9, 25.3, 44dcb4c3d900777493ce2a6129f451aa475811f9
Weakness classification (CWE)
References
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (related, vendor-advisory, Vendor Advisory)
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (related, Vendor Advisory)
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (related, Third Party Advisory)
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (x_version-scheme, Release Notes)
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Patch, patch)
Frequently asked questions
- What is CVE-2026-55950?
- CVE-2026-55950 is a medium-severity vulnerability in Erlang Erlang\/otp, classified under Time-of-check Time-of-use (TOCTOU) Race Condition. CVSS score: 5.9/10. Published 2026-07-02.
- How severe is CVE-2026-55950?
- Medium severity. CVSS v3 base score is 5.9 out of 10.