CVE-2026-124286
Description
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.
Affected products
2Patches
Vulnerability mechanics
References
7- cna.erlef.org/cves/CVE-2026-124286.htmlnvd
- github.com/erlang/otp/commit/74782afedd9090bad0ab1dede237a2389e94743fnvd
- github.com/erlang/otp/commit/938a5246a52d30897b4f47439352da4425ea6fc5nvd
- github.com/erlang/otp/commit/d9a931963d3d49c7f73ea509221c9c66737977c7nvd
- github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665jnvd
- osv.dev/vulnerability/EEF-CVE-2026-124286nvd
- www.erlang.org/doc/system/versions.htmlnvd
News mentions
0No linked articles in our index yet.