Technical impact
The Erlang/OTP ssl TLS 1.2 (and earlier) and DTLS client does not verify that the cipher suite selected by the server in ServerHello was among the suites offered in ClientHello. During the handshake, the client‑side tls_handshake:hello/5 handler validates only the negotiated protocol version and the downgrade sentinel, then passes the server‑chosen suite to ssl_handshake:handle_server_hello_extensions/9 without performing a membership check, so the server’s selection is installed blindly. As a result, an on‑path attacker can reply with a ServerHello that chooses an anonymous key‑exchange suite such as TLS_DH_anon_* or TLS_ECDH_anon_*, suites that the client never offered. These anonymous suites bypass the requirement for a server certificate, so configuration options verify_peer and cacerts are ineffective; the attacker completes the handshake with its own (ephemeral) parameters, receiving an {ok, Socket} and gaining full read/write access to all subsequent traffic. The TLS 1.3 client path performs the proper check (per RFC 8446) and is unaffected.
Affected Systems
The flaw exists in Erlang/OTP releases from OTP 17.0 before OTP 27.3.4.15, from OTP 28.0 before OTP 28.5.0.4, and from OTP 29.0 before OTP 29.0.4, corresponding to ssl from 5.3.4 before 11.2.12.11, from 11.3 before 11.6.0.4, and from 11.7 before 11.7.4. Whether OTP releases before OTP 17.0, corresponding to ssl before 5.3.4, is affected is unknown. Any Erlang/OTP image built with these releases that uses TLS 1.2 or DTLS in client mode is vulnerable. Upgrading to OTP 29.0.4 or later (or any build that includes the patches in commits 064e2364, 0a82596d, e6ff9381) removes the defect.
Risk and Exploitability
The vulnerability carries a CVSS score of 9.1, placing it in the high‑severity category. The EPSS score is < 1%, indicating a low probability of exploitation, but the defect still allows an on‑path attacker to achieve full traffic disclosure and tampering without any credentials. The attacker can choose any anonymous cipher suite, bypassing cryptographic verification. The TLS 1.3 client path is not affected because it performs the required membership check. The flaw is not listed in CISA KEV, yet organizations that use older OTP releases should treat the risk as high and remediate promptly. A temporary mitigation is to restrict clients to TLS 1.3 only by setting the ssl option versions to ['tlsv1.3'], which forces the proper check; this step can be taken until an upgrade can be applied.
Debian DSA
Ubuntu USN