CVE-2026-55950

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. A 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. 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 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. This vulnerability is associated with program file lib/ssl/src/dtls_packet_demux.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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/ssl:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/ssl:*:*:*:*:*:*:*:*
cpe:2.3:a:erlang:erlang\/ssl:*:*:*:*:*:*:*:*

History

25 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Vulnerabilidad de condición de carrera Time-of-check Time-of-use (TOCTOU) en Erlang/OTP ssl (módulo dtls_packet_demux) permite a un atacante remoto no autenticado colapsar todas las sesiones DTLS activas en un oyente. Un oyente de servidor DTLS utiliza un único proceso gen_server dtls_packet_demux compartido para enrutar datagramas UDP entrantes al gestor de conexión correcto. Cuando un cliente DTLS se reconecta rápidamente desde la misma dirección de origen y puerto (enviando múltiples mensajes ClientHello en rápida sucesión), una condición de carrera en el almacén clave-valor gb_trees interno del demux causa un colapso {key_exists, {old, Client}}, terminando el proceso demux. Debido a que el demux se comparte entre todas las asociaciones DTLS en ese oyente, su colapso mata inmediatamente cada sesión DTLS activa, no solo la del atacante. El ataque es de pre-autenticación: el atacante solo necesita enviar datagramas UDP que contengan mensajes ClientHello válidos desde la misma IP de origen y puerto antes de que el mensaje de monitor DOWN intermedio sea procesado por el gen_server. No se requieren credenciales, ni un handshake completado, ni una configuración especial, y el colapso puede repetirse indefinidamente para crear una denegación de servicio persistente para todos los clientes de ese oyente. Esta vulnerabilidad está asociada con el archivo de programa lib/ssl/src/dtls_packet_demux.erl. Este problema afecta a OTP desde OTP 25.3 antes de 29.0.3, 28.5.0.3 y 27.3.4.14 correspondiente a ssl desde 10.9 antes de 11.7.3, 11.6.0.3 y 11.2.12.10.

Information

Published : 2026-07-02 17:17

Updated : 2026-10-25 21:10


NVD link : CVE-2026-55950

Mitre link : CVE-2026-55950

CVE.ORG link : CVE-2026-55950


JSON object : View

Products Affected

erlang

  • erlang\/otp
  • erlang\/ssl
CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition