What’s Vulnerable › Vulnerabilities
CVE-2026-55950: DTLS listener crash via race condition in dtls_packet_demux causes denial of service for all sessions
- Severity: medium (CVSS 5.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-07-02 · updated 2026-10-25
- Weakness: CWE-367
Description
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.
Affected products
- Erlang OTP: from 25.3 before 27.3.4.14; from 28.0 before 28.5.0.3; from 29.0 before 29.0.3 — fixed in 27.3.4.14, 28.5.0.3, 29.0.3
- Erlang/Ssl: from 10.9 before 11.2.12.10; from 11.3 before 11.6.0.3; from 11.7 before 11.7.3 — fixed in 11.2.12.10, 11.6.0.3, 11.7.3
How to fix
Upgrade to a fixed version: Erlang OTP 27.3.4.14, 28.5.0.3, 29.0.3; Erlang/Ssl 11.2.12.10, 11.6.0.3, 11.7.3. Check the vendor advisory for mitigations.
References
- https://cna.erlef.org/cves/CVE-2026-55950.html
- https://github.com/erlang/otp/commit/e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04
- https://github.com/erlang/otp/security/advisories/GHSA-hwfc-5hf4-gvr3
- https://osv.dev/vulnerability/EEF-CVE-2026-55950
- https://www.erlang.org/doc/system/versions.html#order-of-versions
Get alerted when CVE-2026-55950 or the next vulnerability affects your stack