Erlang/OTP TLS 1.2 clients can skip server authentication (CVE-2026-124286)
A man-in-the-middle can read or modify traffic; fixed OTP releases are 29.0.3, 28.5.0.9, and 27.3.4.14.
TLS signature bypass lets on-path attacker impersonate servers in Erlang OTP
Erlang OTP's ssl_handshake module accepts a TLS 1.2 or DTLS ServerKeyExchange with no signature and no Certificate as anonymous, then skips certificate path, verify_fun, and hostname checks. An on-path attacker who offers ecdhe_rsa, ecdhe_ecdsa, dhe_rsa, or dhe_dss can complete the handshake and impersonate any server to a client that requested verify_peer. TLS 1.3 clients are not affected. OTP from 17.0 and ssl from 5.3.4 are affected until the listed fixes.
What to do: Upgrade OTP to 27.3.4.14, 28.5.0.9, or 29.0.3 (ssl 11.2.12.10, 11.6.0.8, or 11.7.3). No workaround is stated.
| Product | Affected | Fixed in |
|---|---|---|
| Erlang OTP | OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.9, and OTP 29.0.3 | OTP 27.3.4.14, OTP 28.5.0.9, and OTP 29.0.3 |
| Erlang OTP ssl | ssl 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3 | ssl 11.2.12.10, 11.6.0.8, and 11.7.3 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Improper Verification of Cryptographic Signature vulnerability in Erlang OTP ssl (ssl_handshake module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client. When a server sends no Certificate message and a ServerKeyExchange without a signature, ssl_handshake:decode_server_key/3 reports the signature algorithm as anon, and ssl_handshake:verify_signature/5 returns true for anon without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges with a cipher suite the client offered. Certificate path validation, verify_fun and the hostname check do not run, and ssl:connect/3 returns {ok, Socket} with {verify, verify_peer} set. The TLS 1.3 client is not affected. This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.9, and OTP 29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3.
A man-in-the-middle can read or modify traffic; fixed OTP releases are 29.0.3, 28.5.0.9, and 27.3.4.14.
Today 4.5K readers · 5.6K views · 557 reads · all time 235K views