CVE-2026-124286TLS 1.2 Client Completes Handshake Without a Server Certificate
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | erlang | Under investigation | ||
| Ubuntu 24.04 | erlang | Under investigation | ||
| Ubuntu 22.04 | erlang | Under investigation |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 5.3.4 and later; fixed in
11.2.12.10,11.6.0.8,11.7.3 - Erlang OTP: affected: 17.0 and later; fixed in
27.3.4.14,28.5.0.9,29.0.3 - Erlang OTP: affected: 938a5246a52d30897b4f47439352da4425ea6fc5 and later; fixed in
74782afedd9090bad0ab1dede237a2389e94743f
Workaround: Restrict TLS client connections to TLS 1.3 by setting versions to ['tlsv1.3'] in the client's ssl options. If a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no ServerKeyExchange message. They provide no forward secrecy, and many servers do not accept them. RsaOnly = ssl:filter_cipher_suites( ssl:cipher_suites(all, 'tlsv1.2'), [{key_exchange, fun(rsa) -> true; (_) -> false end}] ), Opts = [ {verify, verify_peer}, {cacerts, public_key:cacerts_get()}, {versions, ['tlsv1.2']}, {ciphers, RsaOnly}, {server_name_indication, "www.example.com"}, {customize_hostname_check, [ {match_fun, public_key:pkix_verify_hostname_match_fun(https)} ]} ].
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j (vendor-advisory)
- https://github.com/erlang/otp/commit/74782afedd9090bad0ab1dede237a2389e94743f (patch)
- https://github.com/erlang/otp/commit/d9a931963d3d49c7f73ea509221c9c66737977c7 (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j
- https://cna.erlef.org/cves/CVE-2026-124286.html
- https://osv.dev/vulnerability/EEF-CVE-2026-124286
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/938a5246a52d30897b4f47439352da4425ea6fc5
- https://github.com/erlang/otp/commit/74782afedd9090bad0ab1dede237a2389e94743f
- https://github.com/erlang/otp/commit/d9a931963d3d49c7f73ea509221c9c66737977c7
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.