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.
CVSS scores
| Version | Scored by | Score | Vector |
|---|---|---|---|
| CVSS 4.0 | EEF (CNA) | 9.1 Critical | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| CVSS 4.0 | CNA | 9.1 Critical | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Timeline
- CVE published
- Last updated by the CVE authority
- First tracked by SecureCyberVM
Exploit likelihood (EPSS)
Am I affected?
- Do you run Erlang OTP? Check the exact versions in the affected products list.
- Is the affected service reachable from the internet or by untrusted users? Exposed systems come first.
- Watch this page: if exploitation is reported it moves to the top of your list.
- Apply the fix below, or the workaround if you cannot patch yet, then confirm the new version is running.
Affected products
- Erlang OTP: from 5.3.4 before * · All Erlang vulnerabilities
- Erlang OTP: from 17.0 before * · All Erlang vulnerabilities
- Erlang OTP: from 938a5246a52d30897b4f47439352da4425ea6fc5 before * · All Erlang vulnerabilities
Fix
- TLS 1.2 Client Completes Handshake Without a Server Certificate (vendor-advisory, related)
- Fix commit 74782af in erlang/otp (patch)
- Fix commit d9a9319 in erlang/otp (patch)
Mitigations
- 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)} ]} ].
Weakness
CWE-347 Improper Verification of Cryptographic Signature
Coverage of CVE-2026-124286
Other Erlang vulnerabilities
- CVE-2025-32433 Exploited Erlang Erlang/OTP SSH Server Missing Authentication for Critical Function Vulnerability
Frequently asked questions
Is CVE-2026-124286 being actively exploited?
There are no confirmed reports of exploitation in the wild: CVE-2026-124286 is not in CISA's Known Exploited Vulnerabilities catalog. EPSS estimates a 0.29% probability of exploitation in the next 30 days. This page is re-checked daily.
How severe is CVE-2026-124286?
CVE-2026-124286 has a highest CVSS score of 9.1 (Critical) under CVSS 4.0. Severity alone is not priority: check exploitation status and whether you run an affected version.
How do I fix CVE-2026-124286?
Apply the vendor's security update as soon as it is available and follow the official advisory linked in the references on this page. Restrict exposure of the affected service until it is patched.
Which products are affected by CVE-2026-124286?
Erlang OTP. See the affected products list on this page for exact versions.
References
- TLS 1.2 Client Completes Handshake Without a Server Certificate
- EEF CNA record for CVE-2026-124286
- OSV record EEF-CVE-2026-124286
- Erlang/OTP version ordering
- Introducing commit 938a524 in erlang/otp
- Fix commit 74782af in erlang/otp
- Fix commit d9a9319 in erlang/otp
Change log
- First recorded on SecureCyberVM from CVE.org, NVD, CISA KEV and FIRST EPSS.
Sources: CVE.org, NIST NVD, CISA KEV and ADP, FIRST EPSS. This record is refreshed automatically every day; changes are listed in the change log above.
