Summary
Improper verification of cryptographic signatures in the Erlang/OTP ssl module allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client. The source rates it critical with a CVSS 4.0 score of 9.1.
What happened
The flaw (CVE-2026-124286, CWE-347) is in the ssl_handshake module of ssl. If a server sends no Certificate message and sends a ServerKeyExchange without a signature, the client treats the signature algorithm as anonymous and signature verification is considered successful without a public key. The client does not require a certificate for certificate-authenticated key exchanges, so the handshake completes for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges, using a cipher suite the client offered. Certificate path validation, verify_fun and the hostname check do not run, and the connection succeeds even when verify_peer is set. The TLS 1.3 client is not affected.
Why it matters
An attacker positioned on the communication path could impersonate any server to an affected client, with high impact on confidentiality and integrity per the CVSS 4.0 vector (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), score 9.1, critical severity, assigned by CNA:EEF. According to the source, CISA's KEV catalog does not list this vulnerability as actively exploited, and the source gives no indication that it was a zero-day.
Affected products and versions
Erlang OTP, from OTP 17.0 and before OTP 27.3.4.14, OTP 28.5.0.9 and OTP 29.0.3. For the ssl package: from 5.3.4 and before 11.2.12.10, 11.6.0.8 and 11.7.3. TLS 1.2 and DTLS clients; the TLS 1.3 client is not affected.
| Product | Versions | Fixed in |
|---|---|---|
| Erlang OTP | 5.3.4 | 11.2.12.10 |
| Erlang OTP | 5.3.4 | 11.6.0.8 |
| Erlang OTP | 5.3.4 | 11.7.3 |
| Erlang OTP | 17.0 | 27.3.4.14 |
| Erlang OTP | 17.0 | 28.5.0.9 |
| Erlang OTP | 17.0 | 29.0.3 |
| Erlang OTP | 938a5246a52d30897b4f47439352da4425ea6fc5 | 74782afedd9090bad0ab1dede237a2389e94743f |
| Erlang OTP | 938a5246a52d30897b4f47439352da4425ea6fc5 | d9a931963d3d49c7f73ea509221c9c66737977c7 |
Action recommended by the source
According to the source, the fixed versions are OTP 27.3.4.14, OTP 28.5.0.9 and OTP 29.0.3 (ssl 11.2.12.10, 11.6.0.8 and 11.7.3 respectively). The source links the fix commits 74782afedd9090bad0ab1dede237a2389e94743f and d9a931963d3d49c7f73ea509221c9c66737977c7, and a vendor advisory on GitHub (GHSA-7mff-v332-665j). The source does not state any alternative mitigations.
Fixed in: 11.2.12.10, 11.6.0.8, 11.7.3, 27.3.4.14, 28.5.0.9, 29.0.3, 74782afedd9090bad0ab1dede237a2389e94743f, d9a931963d3d49c7f73ea509221c9c66737977c7
Sources and references
- https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j — CVE Program
- https://cna.erlef.org/cves/CVE-2026-124286.html — CVE Program
- https://osv.dev/vulnerability/EEF-CVE-2026-124286 — CVE Program
- https://www.erlang.org/doc/system/versions.html#order-of-versions — CVE Program
- https://github.com/erlang/otp/commit/938a5246a52d30897b4f47439352da4425ea6fc5 — CVE Program
- https://github.com/erlang/otp/commit/74782afedd9090bad0ab1dede237a2389e94743f — CVE Program
- https://github.com/erlang/otp/commit/d9a931963d3d49c7f73ea509221c9c66737977c7 — CVE Program
Weaknesses (CWE): CWE-347
Relevant change history
Advisory correction
The preliminary version was replaced by the full write-up.
Published
Preliminary advisory published.