Descrizione
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 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.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 5.9.
Versioni da aggiornare
- Erlang Erlang/Otp: vulnerabili le versioni dalla
25.3precedenti alla27.3.4.14→ aggiornare alla27.3.4.14o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
28.0precedenti alla28.5.0.3→ aggiornare alla28.5.0.3o successiva. - Erlang Erlang/Otp: vulnerabili le versioni dalla
29.0precedenti alla29.0.3→ aggiornare alla29.0.3o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
10.9precedenti alla11.2.12.10→ aggiornare alla11.2.12.10o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
11.3precedenti alla11.6.0.3→ aggiornare alla11.6.0.3o successiva. - Erlang Erlang/Ssl: vulnerabili le versioni dalla
11.7precedenti alla11.7.3→ aggiornare alla11.7.3o successiva.
Patch e advisory
- Patch: github.com/erlang/otp/commit/e44d2bf01c4473ef2e…
- Advisory del vendor: cna.erlef.org/cves/CVE-2026-55950.html
- Advisory del vendor: github.com/erlang/otp/security/advisories/GHSA-…
- Note di rilascio: www.erlang.org/doc/system/versions.html
- Advisory di terze parti: osv.dev/vulnerability/EEF-CVE-2026-55950
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Limitare l'accesso di rete al servizio e applicare limiti di connessione per ridurre la finestra di sfruttamento.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Erlang | Erlang/Otp | ≥ 25.3 < 27.3.4.14 | 27.3.4.14 |
| Erlang | Erlang/Otp | ≥ 28.0 < 28.5.0.3 | 28.5.0.3 |
| Erlang | Erlang/Otp | ≥ 29.0 < 29.0.3 | 29.0.3 |
| Erlang | Erlang/Ssl | ≥ 10.9 < 11.2.12.10 | 11.2.12.10 |
| Erlang | Erlang/Ssl | ≥ 11.3 < 11.6.0.3 | 11.6.0.3 |
| Erlang | Erlang/Ssl | ≥ 11.7 < 11.7.3 | 11.7.3 |
Riferimenti
- Patchhttps://github.com/erlang/otp/commit/e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04
- Advisory del vendorhttps://cna.erlef.org/cves/CVE-2026-55950.html
- Advisory del vendorhttps://github.com/erlang/otp/security/advisories/GHSA-hwfc-5hf4-gvr3
- Note di rilasciohttps://www.erlang.org/doc/system/versions.html#order-of-versions
- Advisory di terze partihttps://osv.dev/vulnerability/EEF-CVE-2026-55950
- Riferimentohttps://github.com/erlang/otp/commit/44dcb4c3d900777493ce2a6129f451aa475811f9