Summary
CVE-2026-124286 is a critical (CVSS 9.1) improper signature verification flaw in the ssl application of Erlang/OTP. It affects TLS 1.2 and DTLS clients, not servers. An attacker in a man-in-the-middle position can impersonate a legitimate server and read or alter traffic, even when the client is set to verify certificates. The details below come from The Hacker News and public advisory listings.
How it works
If a server sends no Certificate message and a ServerKeyExchange message with no signature, the decode_server_key/3 function in ssl_handshake reports the signature algorithm as anonymous. verify_signature/5 then returns true without a public key. As a result, certificate path validation, verify_fun and the hostname check never run.
It does not allow decryption of previously recorded traffic.
Affected and fixed versions
| Item | Detail |
|---|---|
| Affected | OTP 17.0 up to, but not including, 27.3.4.14, 28.5.0.9 and 29.0.3 |
| Fixed | OTP 29.0.3, 28.5.0.9, 27.3.4.14 |
| Not affected | TLS servers; clients limited to TLS 1.3 |
Applications on OTP 27 or 28 that make outbound TLS or DTLS connections are exposed by default, because TLS 1.2 is allowed unless disabled. Reports say an earlier hardening change reached the OTP 29 and 27 branches but was missed on 28. Researcher Philip Calvin reported the flaw privately. The advisory does not say it is under active exploitation.
What to do
- Upgrade to a fixed OTP release and rebuild or redeploy releases that bundle OTP.
- Workaround: set
versionsto['tlsv1.3']in client ssl options, if every peer you connect to supports TLS 1.3. - If TLS 1.2 is required, offer only static RSA key exchange cipher suites until you can patch.
- Inventory Erlang-based software that makes outbound HTTPS calls, such as Elixir apps, RabbitMQ and CouchDB deployments, and check their bundled OTP version.
- Note that one secondary report lists two related ssl CVEs; we did not verify them, so check the vendor advisory.