CVE-2026-55950: DTLS listener crash via race condition in dtls_packet_demux causes denial of service for all sessions

Published Jul 2, 2026
·
Updated

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

7 affected components
Erlang/OTP ssl (dtls_packet_demux)>=10.9<=11.6.0.3, <11.7.3, >=11.2.12.10<=11.6.0.3
Erlang Erlang\/otp>=25.3<27.3.4.14
Erlang Erlang\/otp>=28.0<28.5.0.3
Erlang Erlang\/otp>=29.0<29.0.3
Erlang Erlang\/ssl>=10.9<11.2.12.10
Erlang Erlang\/ssl>=11.3<11.6.0.3
Erlang Erlang\/ssl>=11.7<11.7.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade OTP to a version that resolves this vulnerability.

    Fixed in 29.0.3
  2. Upgrade

    Upgrade OTP to a version that resolves this vulnerability.

    Fixed in 28.5.0.3
  3. Upgrade

    Upgrade OTP to a version that resolves this vulnerability.

    Fixed in 27.3.4.14
  4. Upgrade

    Upgrade ssl to a version that resolves this vulnerability.

    Fixed in 11.7.3
  5. Upgrade

    Upgrade ssl to a version that resolves this vulnerability.

    Fixed in 11.6.0.3
  6. Upgrade

    Upgrade ssl to a version that resolves this vulnerability.

    Fixed in 11.2.12.10
  7. 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

Jul 2, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via MITRE·04:06 PM
DescriptionWeakness
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-55950?

The severity of CVE-2026-55950 is rated as 80, indicating a high risk level.

2

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.

3

What does CVE-2026-55950 affect?

CVE-2026-55950 affects the dtls_packet_demux module within the Erlang/OTP ssl implementation.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203