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

Summary

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 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.

Configurations

The application must accept incoming DTLS connections via ssl:listen/2 with a UDP-based transport. TLS-only deployments are not affected.

Other sources

DTLS listener crash via race condition in dtlspacketdemux causes denial of service for all sessions

— Microsoft

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 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.

— MITRE

Affected Software

15 affected componentsFixes available
Erlang/OTP ssl (dtls_packet_demux)>=10.9<=11.6.0.3, <11.7.3, >=11.2.12.10<=11.6.0.3
Microsoft azl3 erlang 26.2.5.21-4<26.2.5.21-5
26.2.5.21-5
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
ubuntu/erlang<1:25.3.2.8+dfsg-1ubuntu4.8
1:25.3.2.8+dfsg-1ubuntu4.8
ubuntu/erlang*
ubuntu/erlang<1:27.3.4.6+dfsg-1ubuntu0.2
1:27.3.4.6+dfsg-1ubuntu0.2
debian/erlang*
debian/erlang<1:27.3.4.1+dfsg-1+deb13u3
1:27.3.4.1+dfsg-1+deb13u3
debian/erlang<1:29.0.3+dfsg-1
1:29.0.3+dfsg-1
debian/erlang<=1:25.2.3+dfsg-1+deb12u4, <=1:25.2.3+dfsg-1+deb12u1
1:27.3.4.1+dfsg-1+deb13u31:29.0.3+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.2.5.21-5
  2. Upgrade

    Upgrade ubuntu/erlang to a version that resolves this vulnerability.

    Fixed in 1:25.3.2.8+dfsg-1ubuntu4.8
  3. Upgrade

    Upgrade ubuntu/erlang to a version that resolves this vulnerability.

    Fixed in 1:27.3.4.6+dfsg-1ubuntu0.2
  4. Upgrade

    Upgrade debian/erlang to a version that resolves this vulnerability.

    Fixed in 1:27.3.4.1+dfsg-1+deb13u3
  5. Upgrade

    Upgrade debian/erlang to a version that resolves this vulnerability.

    Fixed in 1:29.0.3+dfsg-1
  6. Upgrade

    Upgrade debian/erlang to a version that resolves this vulnerability.

    Fixed in 1:27.3.4.1+dfsg-1+deb13u3Fixed in 1:29.0.3+dfsg-1
  7. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 27.3.4.14
  8. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 28.5.0.3
  9. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 29.0.3
  10. Upgrade

    Upgrade ssl to a version that resolves this vulnerability.

    Fixed in 11.2.12.10
  11. Upgrade

    Upgrade ssl to a version that resolves this vulnerability.

    Fixed in 11.6.0.3
  12. Upgrade

    Upgrade ssl to a version that resolves this vulnerability.

    Fixed in 11.7.3

Event History

Jul 2, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via MITRE·04:06 PM
DescriptionWeakness
Data Sourced
via OSV·04:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Jul 7, 2026
Data Sourced
via NVD·02:45 PM
RemedyAffected Software
Updated
via NVD·02:45 PM
Severity
Jul 24, 2026
Updated
via MITRE·02:14 PM
Description
Updated
via NVD·03:18 PM
Description
Aug 15, 2026
Data Sourced
via Microsoft·02:11 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:11 AM
Affected Software
Nov 11, 2026
Updated
via MITRE·03:00 PM
Description
Updated
via NVD·03:17 PM
Description
Nov 18, 2026
Data Sourced
via OSV·02:20 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

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