CVE-2026-55950: DTLS listener crash via race condition in dtls_packet_demux causes denial of service for all sessions
Time-of-check Time-of-use (TOCTOU) race condition vulnerability in Erlang/OTP ssl (dtlspacketdemux module) allows an unauthenticated remote attacker to crash all active DTLS sessions on a listener.
A DTLS server listener uses a single shared dtlspacketdemux genserver 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 gbtrees key-value store causes a {keyexists, {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 genserver. 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/dtlspacketdemux.erl.
This issue affects OTP from OTP 25.3 before 29.0.3, 28.5.0.3, and 27.3.4.14 corresponding to ssl from 10.9 before 11.7.3, 11.6.0.3, and 11.2.12.10.
Other sources
Time-of-check Time-of-use (TOCTOU) race condition vulnerability in Erlang/OTP ssl (dtlspacketdemux module) allows an unauthenticated remote attacker to crash all active DTLS sessions on a listener.
A DTLS server listener uses a single shared dtlspacketdemux genserver 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 gbtrees key-value store causes a {keyexists, {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 genserver. 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/dtlspacketdemux.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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
OTPto a version that resolves this vulnerability.Fixed in 29.0.3 - Upgrade
Upgrade
OTPto a version that resolves this vulnerability.Fixed in 28.5.0.3 - Upgrade
Upgrade
OTPto a version that resolves this vulnerability.Fixed in 27.3.4.14 - Upgrade
Upgrade
sslto a version that resolves this vulnerability.Fixed in 11.7.3 - Upgrade
Upgrade
sslto a version that resolves this vulnerability.Fixed in 11.6.0.3 - Upgrade
Upgrade
sslto a version that resolves this vulnerability.Fixed in 11.2.12.10 - Compensating control
Mitigate exposure by restricting UDP/DTLS listener access (source IP and/or network path) since the attack is pre-authentication and only requires sending UDP datagrams containing valid DTLS ClientHello messages from the same source IP and port.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-55950?
The severity of CVE-2026-55950 is rated as 80, indicating a high risk level.
How do I fix CVE-2026-55950?
To fix CVE-2026-55950, update your Erlang/OTP ssl package to a patched version that addresses the race condition.
What does CVE-2026-55950 affect?
CVE-2026-55950 affects the dtls_packet_demux module within the Erlang/OTP ssl implementation.
What type of attack does CVE-2026-55950 enable?
CVE-2026-55950 enables a denial of service attack, allowing an unauthenticated remote attacker to crash all active DTLS sessions.
How does the CVE-2026-55950 vulnerability work?
CVE-2026-55950 exploits a Time-of-check Time-of-use (TOCTOU) race condition during the processing of DTLS packets.