{"id":"EEF-CVE-2026-55950","summary":"DTLS listener crash via race condition in dtls_packet_demux causes denial of service for all sessions","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 OTP 27.3.4.14, OTP 28.5.0.3, and OTP 29.0.3, corresponding to ssl from 10.9 before 11.2.12.10, 11.6.0.3, and 11.7.3.\n\n## Configurations\n\nThe application must accept incoming DTLS connections via `ssl:listen/2` with a UDP-based transport. TLS-only deployments are not affected.","aliases":["CVE-2026-55950","GHSA-hwfc-5hf4-gvr3"],"modified":"2026-11-20T06:00:57.646646992Z","published":"2026-07-02T16:06:24.783Z","database_specific":{"cwe_ids":["CWE-367"],"capec_ids":["CAPEC-29"],"cpe_ids":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"]},"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":"WEB","url":"https://github.com/erlang/otp/commit/44dcb4c3d900777493ce2a6129f451aa475811f9"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/erlang/otp","events":[{"introduced":"44dcb4c3d900777493ce2a6129f451aa475811f9"},{"fixed":"e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04"}]}],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2026-55950.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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","source":"CNA"}],"credits":[{"name":"Lukas Backström","type":"FINDER"},{"name":"Ingela Anderton Andin","type":"REMEDIATION_DEVELOPER"},{"name":"Dan Gudmundsson","type":"REMEDIATION_REVIEWER"}]}