{"affected":[{"ranges":[{"events":[{"introduced":"44dcb4c3d900777493ce2a6129f451aa475811f9"},{"fixed":"e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04"}],"repo":"https://github.com/erlang/otp","type":"GIT"}]}],"aliases":["GHSA-hwfc-5hf4-gvr3","CVE-2026-55950"],"credits":[{"name":"Lukas Backström","type":"FINDER"},{"name":"Ingela Anderton Andin","type":"REMEDIATION_DEVELOPER"},{"name":"Dan Gudmundsson","type":"REMEDIATION_REVIEWER"}],"database_specific":{"capec_ids":["CAPEC-29"],"cpe_ids":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-367"]},"details":"## Summary\n\nTime-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.\n\nA 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.\n\nThe 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.\n\nThis vulnerability is associated with program file lib/ssl/src/dtls\\_packet\\_demux.erl.\n\nThis 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.\n\n## Configuration\n\nThe application must accept incoming DTLS connections via ssl:listen/2 with a UDP-based transport. TLS-only deployments are not affected.","id":"EEF-CVE-2026-55950","modified":"2026-07-02T16:06:24.783Z","published":"2026-07-02T16:06:24.783Z","references":[{"type":"ADVISORY","url":"https://github.com/erlang/otp/security/advisories/GHSA-hwfc-5hf4-gvr3"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2026-55950.html"},{"type":"WEB","url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04"}],"related":[],"schema_version":"1.7.3","severity":[{"score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","type":"CVSS_V4"}],"summary":"DTLS listener crash via race condition in dtls_packet_demux causes denial of service for all sessions","upstream":[]}