Skip to content
DayZeroHub
Critical CVSS 9.1CVE-2026-124286

Erlang/OTP ssl: TLS 1.2 and DTLS client completes handshake without a server certificate (CVE-2026-124286)

Erlang OTP

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.

ProductVersionsFixed in
Erlang OTP5.3.411.2.12.10
Erlang OTP5.3.411.6.0.8
Erlang OTP5.3.411.7.3
Erlang OTP17.027.3.4.14
Erlang OTP17.028.5.0.9
Erlang OTP17.029.0.3
Erlang OTP938a5246a52d30897b4f47439352da4425ea6fc574782afedd9090bad0ab1dede237a2389e94743f
Erlang OTP938a5246a52d30897b4f47439352da4425ea6fc5d9a931963d3d49c7f73ea509221c9c66737977c7

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

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-347

Relevant change history

  1. Advisory correction

    The preliminary version was replaced by the full write-up.

  2. Published

    Preliminary advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources