Mastodon Mastodon Mastodon Mastodon

Critical Erlang/OTP vulnerability allows spoofing TLS servers and intercepting traffic

Photo of author

CyberSecureFox Editorial Team

Published:

A critical vulnerability CVE-2026-124286 with a CVSS score of 9.1 has been disclosed in the ssl library of the Erlang/OTP platform. It allows an attacker in an “adversary-in-the-middle” position to impersonate a legitimate TLS server and intercept encrypted traffic — even if the client is configured to fully verify the server’s authenticity. The vulnerability affects Erlang/OTP applications acting as TLS clients and using the TLS 1.2 protocol. Patches are already available; as a temporary measure it is recommended to restrict the client to TLS 1.3.

Nature of the vulnerability

According to the official Erlang/OTP security advisory, the issue lies in incorrect handling of the TLS 1.2 handshake on the client side. A malicious server can complete the handshake using a cipher suite that implies authentication (for example, ECDHE_RSA), while not sending the Certificate message and providing an unsigned ServerKeyExchange message. In effect, the client is presented with an anonymous ECDH key exchange disguised as an authenticated cipher suite. The client then mistakenly accepts the connection as having passed authentication.

The vulnerability is classified as CWE-347 — Improper Verification of Cryptographic Signature. Discovery is attributed to security researcher Philip Calvin.

Important clarification of the impact scope

It should be noted that in a number of publications the vulnerability is mistakenly described as an issue in the SSH implementation. However, the vendor’s primary advisory clearly defines CVE-2026-124286 as a TLS client vulnerability. Erlang/OTP server deployments, TLS 1.3 connections, and cipher suites without ServerKeyExchange (static RSA, ECDH_RSA, ECDH_ECDSA) are not affected.

Affected versions and patches

The vulnerability is present in a wide range of versions:

  • OTP versions ≥ 17.0 — fixed in versions 29.0.3, 28.5.0.9, 27.3.4.14
  • ssl versions ≥ 5.3.4 — fixed in versions 11.7.3, 11.6.0.8, 11.2.12.10

Given that all OTP versions starting from 17.0 are affected, the potential reach of the vulnerability is quite significant: Erlang/OTP is widely used in telecommunications infrastructure, messaging systems (RabbitMQ, ejabberd), databases (CouchDB, Riak), and other critical components.

Impact assessment

Successful exploitation of CVE-2026-124286 allows an attacker in an adversary-in-the-middle position to fully impersonate any TLS server to a vulnerable client. This means the attacker can read and modify all traffic, including data that the client believes is protected by full server authentication.

Exploitation requires an AitM position — the attacker must be able to intercept network traffic between the client and the server. This condition limits large-scale exploitation, but remains a realistic scenario in corporate networks, public Wi‑Fi networks, and in cases of compromised network infrastructure.

At the time of publication, there is no evidence of active exploitation of CVE-2026-124286, and the vulnerability has not been added to the CISA Known Exploited Vulnerabilities catalog. However, the absence of data on exploitation does not mean it is impossible.

Context: a series of critical vulnerabilities in Erlang/OTP

CVE-2026-124286 is far from the first critical vulnerability in the Erlang/OTP cryptographic stack. Over the past year, several serious issues have been fixed, including CVE-2025-32433 (CVSS 10.0), which has been added to the CISA KEV catalog, confirming that it is being actively exploited. Other issues that have been addressed include CVE-2022-37026 (CVSS 9.8), CVE-2026-55953 (CVSS 9.1), and CVE-2026-89422 (CVSS 9.3).

This concentration of critical vulnerabilities in the Erlang/OTP TLS implementation points to systemic issues in the handling of cryptographic protocols and requires organizations that depend on this platform to pay increased attention to timely updates.

Recommendations

The priority of actions depends on the role of Erlang/OTP in your infrastructure:

  1. Update to a fixed version — the vendor’s primary recommendation. Install OTP 29.0.3, 28.5.0.9, or 27.3.4.14 (or the corresponding ssl versions) depending on the branch you use.
  2. Restrict to TLS 1.3 — if immediate updating is not possible, configure the client to use only TLS 1.3 ({versions, ['tlsv1.3']}). TLS 1.3 connections are not vulnerable to this issue.
  3. Static RSA — the vendor mentions the option of using only static RSA cipher suites (without ServerKeyExchange), but strongly discourages this approach: it does not provide forward secrecy, and many servers no longer support such cipher suites, which will result in handshake failures.
  4. Inventory — identify all infrastructure components that use Erlang/OTP as a TLS client. Server deployments are not affected, so prioritize client-side TLS 1.2 connections.

Organizations using Erlang/OTP in critical infrastructure should update affected components to fixed versions as soon as possible. Migrating to TLS 1.3 is an effective temporary measure, but the long-term strategy must include applying patches, given the continuing trend of critical vulnerabilities being discovered in the Erlang/OTP TLS stack.


CyberSecureFox Editorial Team

The CyberSecureFox Editorial Team covers cybersecurity news, vulnerabilities, malware campaigns, ransomware activity, AI security, cloud security, and vendor security advisories. Articles are prepared using official advisories, CVE/NVD data, CISA alerts, vendor publications, and public research reports. Content is reviewed before publication and updated when new information becomes available.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.