Improper Verification of Cryptographic Signature in Erlang OTP SSL
CVE-2026-124286
What is CVE-2026-124286?
An improper verification of cryptographic signature vulnerability exists in the Erlang OTP ssl_handshake module, which permits an on-path attacker to impersonate servers for TLS 1.2 or DTLS clients. During a server's communication, if no Certificate message is sent along with a ServerKeyExchange that lacks a signature, the ssl_handshake:decode_server_key/3 function erroneously categorizes the signature algorithm as 'anon.' Consequently, ssl_handshake:verify_signature/5 returns 'true' for anon even without a corresponding public key. As the client does not enforce certificate validation in certificate-authenticated key exchanges, the resulting handshake may be completed under a variety of cipher suites offered by the client. This flaw allows the handshake process to succeed without executing essential checks like certificate path validation and hostname verification, which results in a vulnerable state where {ok, Socket} is returned with {verify, verify_peer} set. Importantly, clients utilizing TLS 1.3 are not affected by this vulnerability.
Affected Version(s)
OTP 5.3.4
OTP 17.0
OTP 938a5246a52d30897b4f47439352da4425ea6fc5
References
CVSS V4
Timeline
Vulnerability published
Vulnerability Reserved
