{"containers":{"cna":{"affected":[{"cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["dtls_packet_demux"],"packageName":"ssl","packageURL":"pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%20https:%2F%2Fgithub.com%2Ferlang%2Fotp.git","product":"OTP","programFiles":["src/dtls_packet_demux.erl"],"programRoutines":[{"name":"dtls_packet_demux:handle_call/3"},{"name":"dtls_packet_demux:handle_info/2"},{"name":"dtls_packet_demux:new_connection/2"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"changes":[{"at":"11.7.3","status":"unaffected"},{"at":"11.6.0.3","status":"unaffected"},{"at":"11.2.12.10","status":"unaffected"}],"lessThan":"*","status":"affected","version":"10.9","versionType":"otp"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["dtls_packet_demux"],"packageName":"erlang/otp","packageURL":"pkg:github/erlang/otp","product":"OTP","programFiles":["lib/ssl/src/dtls_packet_demux.erl"],"programRoutines":[{"name":"dtls_packet_demux:handle_call/3"},{"name":"dtls_packet_demux:handle_info/2"},{"name":"dtls_packet_demux:new_connection/2"}],"repo":"https://github.com/erlang/otp","vendor":"Erlang","versions":[{"changes":[{"at":"29.0.3","status":"unaffected"},{"at":"28.5.0.3","status":"unaffected"},{"at":"27.3.4.14","status":"unaffected"}],"lessThan":"*","status":"affected","version":"25.3","versionType":"otp"},{"lessThan":"e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04","status":"affected","version":"44dcb4c3d900777493ce2a6129f451aa475811f9","versionType":"git"}]}],"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>The application must accept incoming DTLS connections via <tt>ssl:listen/2</tt> with a UDP-based transport. TLS-only deployments are not affected.</p>"}],"value":"The application must accept incoming DTLS connections via ssl:listen/2 with a UDP-based transport. TLS-only deployments are not affected."}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"27.3.4.14","versionStartIncluding":"25.3","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"28.5.0.3","versionStartIncluding":"28.0","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"29.0.3","versionStartIncluding":"29.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"credits":[{"lang":"en","type":"finder","value":"Lukas Backström"},{"lang":"en","type":"remediation developer","value":"Ingela Anderton Andin"},{"lang":"en","type":"remediation reviewer","value":"Dan Gudmundsson"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Time-of-check Time-of-use (TOCTOU) race condition vulnerability in Erlang/OTP ssl (<tt>dtls_packet_demux</tt> module) allows an unauthenticated remote attacker to crash all active DTLS sessions on a listener.</p><p>A DTLS server listener uses a single shared <tt>dtls_packet_demux</tt> <tt>gen_server</tt> 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 <tt>ClientHello</tt> messages in quick succession), a race condition in the demux's internal <tt>gb_trees</tt> key-value store causes a <tt>{key_exists, {old, Client}}</tt> 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.</p><p>The attack is pre-authentication: the attacker only needs to send UDP datagrams containing valid <tt>ClientHello</tt> messages from the same source IP and port before the intermediate <tt>DOWN</tt> monitor message is processed by the <tt>gen_server</tt>. 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.</p><p>This vulnerability is associated with program file <tt>lib/ssl/src/dtls_packet_demux.erl</tt>.</p><p>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.</p>"}],"value":"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.\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."}],"impacts":[{"capecId":"CAPEC-29","descriptions":[{"lang":"en","value":"CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-367","description":"CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-07-02T16:06:24.783Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/erlang/otp/security/advisories/GHSA-hwfc-5hf4-gvr3"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-55950.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-55950"},{"tags":["x_version-scheme"],"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"tags":["patch"],"url":"https://github.com/erlang/otp/commit/e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04"}],"source":{"discovery":"INTERNAL"},"title":"DTLS listener crash via race condition in dtls_packet_demux causes denial of service for all sessions","x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-55950","datePublished":"2026-07-02T16:06:24.783Z","dateReserved":"2026-06-17T17:55:15.685Z","dateUpdated":"2026-07-02T16:06:24.783Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}