// 1 CVE IN THE LAST 24H→
A critical CVSS 9.1 flaw in Erlang/OTP's TLS client allowed man-in-the-middle attackers to impersonate any TLS 1.2 or DTLS server even with verify_peer enabled, affecting all versions since OTP 17.0 released in 2014.

A critical vulnerability in the Erlang/OTP TLS client, present since 2014, allows a man-in-the-middle attacker to impersonate any TLS 1.2 or DTLS server and intercept or modify encrypted traffic. The disclosure of CVE-2026-124286 on November 24, 2026 documents an authentication bypass with a CVSS 4.0 score of 9.1. The client completes the handshake even with {verify, verify_peer} configured, without receiving any server certificate.

Key Takeaways
  • The Erlang/OTP TLS client completes a TLS 1.2 handshake without a Certificate message, with {verify, verify_peer} active.
  • ssl_handshake:verify_signature/5 returns true for the anon algorithm even with a undefined public key.
  • Affected key exchanges: ecdhe_rsa, ecdhe_ecdsa, dhe_rsa, dhe_dss; the default configuration is vulnerable.
  • Fixes for OTP 29.0.3, 28.5.0.9, 27.3.4.14; TLS 1.3 is immune and is the only recommended workaround.
  • 30-day EPSS 0.3%: no evidence of active exploitation as of November 30, 2026.

The Mechanism: Anonymous Signature Accepted as Authenticated

The vulnerability resides in Erlang/OTP's ssl_handshake module. The function decode_server_key/3 decodes a signature-less ServerKeyExchange as the anon algorithm. The function verify_signature/5 contains a clause that returns true for anon with any key, including undefined [SOURCE 2].

When no Certificate message arrives from the server, the public key remains undefined. The handshake proceeds for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa, or dhe_dss key exchanges. The client performs no certificate path validation, verify_fun, or hostname check. ssl:connect/3 returns {ok, Socket} and ssl:peercert/1 returns {error, no_peercert} [SOURCE 2, SOURCE 8].

"An Erlang/OTP TLS client configured with full server authentication completes a TLS 1.2 handshake for example an ECDHE_RSA cipher suite when a malicious server sends no Certificate message and an unsigned ServerKeyExchange (that is, anonymous ECDH presented as an authenticated suite)" — Erlang/OTP maintainers, GitHub Security Advisory GHSA-7mff-v332-665j

The Tension Between CVSS Severity and Low EPSS

The CVSS 4.0 score of 9.1 signals HIGH impact on confidentiality and integrity, with vector AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N [SOURCE 2, SOURCE 6]. The absence of availability impact (VA:N) reflects that the service continues to operate on a compromised channel.

However, the 30-day EPSS is 0.3%: a low estimated probability of exploitation in absolute terms, though higher than 22% of CVEs in the database [SOURCE 3]. No evidence of active in-the-wild exploitation is documented as of November 30, 2026. This tension between technical severity and estimated probability of real-world attack characterizes the vulnerability's risk profile: the flaw is technically severe but requires an active MITM position, which limits its scalability compared to unauthenticated remote exploits.

The Backporting Error in the Patch Process

The fix was developed for the OTP-29 and OTP-27 branches "as hardening fix for a different scenario," but "by accident was not included for the OTP-28 track" [SOURCE 8]. This administrative omission left OTP-28 exposed after patches for adjacent versions were released.

The fix commits are 74782afedd9090bad0ab1dede237a2389e94743f and d9a931963d3d49c7f73ea509221c9c66737977c7 [SOURCE 2, SOURCE 6]. The patched versions: OTP 29.0.3, 28.5.0.9, 27.3.4.14, with corresponding ssl modules 11.7.3, 11.6.0.8, 11.2.12.10 [SOURCE 2, SOURCE 8].

The official CVE record does not specify the release year of OTP-28. The primary source describes the omission as a process error, not a development delay.

What to Do Now

Organizations using Erlang/OTP as a TLS client must act on three fronts:

  1. Restrict to TLS 1.3: Configuring {versions, ['tlsv1.3']} is the only workaround recommended by official sources [SOURCE 2, SOURCE 8]. TLS 1.3 is explicitly immune by design.
  2. Update to patched versions: OTP 29.0.3, 28.5.0.9, or 27.3.4.14 with the corresponding ssl modules [SOURCE 2].
  3. Verify client configuration: Check that ssl:peercert/1 does not return {error, no_peercert} in scenarios where a valid certificate is expected; this behavior is documented as an indicator of the vulnerable condition [SOURCE 2].

The workaround of offering only static RSA key transport suites is explicitly discouraged: it eliminates forward secrecy and is indicated only as a last resort [SOURCE 2, SOURCE 8].

Why Erlang Matters in the TLS Landscape

Erlang/OTP powers messaging infrastructure, telecommunications, and distributed systems where the ssl module is a standard component. The vulnerability affects all OTP versions from 17.0 (2014) onward, with an exposure window of approximately 12 years [SOURCE 2]. The discovery by Philip Calvin, disclosed responsibly, was managed through GitHub Security Advisory GHSA-7mff-v332-665j [SOURCE 1, SOURCE 8].

The discovery context is not detailed in primary sources: it is unknown whether the vulnerability was identified during an internal audit or via an external report [UNKNOWN/LIMITS]. Sources do not quantify the number of exposed systems in production nor document public exploits beyond the BoGo test described in the CNA [SOURCE 2].

Editorial Close

CVE-2026-124286 documents a critical bypass in mature open-source code, where a fallback clause for anonymous signatures silently disabled certificate verification for 12 years. The low estimated exploitation probability (EPSS 0.3%) does not attenuate the technical severity (CVSS 9.1): the combination of a required MITM position and absence of in-the-wild evidence defines a specific risk profile, not a generic one. The OTP-28 backporting error is a documented process datum, not a revelation: it underscores the importance of integrity controls in multi-branch security pipelines.

Sources


Sources and references
  1. cna.erlef.org
  2. github.com
  3. cve.org
  4. nvd.nist.gov
  5. radar.offseq.com
  6. thehackernews.com
  7. cve.threatint.com
  8. news.lavx.hu