Skip to content
Brief Security & Trust ·

Erlang/OTP TLS client flaw lets a man-in-the-middle pose as any server

The maintainers released fixes for a critical bug in how Erlang/OTP clients check server identity in TLS 1.2.

In brief
  • Erlang/OTP TLS clients can accept a fake server in TLS 1.2, even with full server checks turned on. The flaw is CVE-2026-124286, rated 9.1 out of 10.
  • TLS 1.3 and servers are not affected. Patched releases are out for the OTP 27, 28 and 29 lines.

The Erlang/OTP maintainers said in a security advisory that the TLS client in Erlang/OTP can be fooled into trusting a fake server. The Hacker News reported on 30 November that the flaw is CVE-2026-124286 and scores 9.1 out of 10 for severity. The maintainers said a client set to check servers fully will still finish a TLS 1.2 handshake. This happens when a malicious server sends no certificate and an unsigned key exchange message. An attacker sitting between the client and the real server could then pose as any server. That attacker could read and change all the traffic. Philip Calvin found the flaw and reported it.

The maintainers said the default client setup is affected, because it offers TLS 1.2. TLS 1.3 connections are not affected. Servers are not affected either. The fixed versions are OTP 29.0.3, 28.5.0.9 and 27.3.4.14, and ssl 11.7.3, 11.6.0.8 and 11.2.12.10. The advisory says the bug dates back to OTP 17.0. The fix was already in OTP 29 and 27 as a hardening change for a different case. It was left out of the OTP 28 line by accident. Neither source says whether anyone has used the flaw in attacks.

Any application that uses Erlang/OTP to open TLS connections as a client should check its OTP version. The maintainers advise installing a patched release or limiting the client to TLS 1.3. Their last-resort option, static RSA suites, lacks forward secrecy, and many servers refuse it.

A WebPulse Brief: a short report of an important event, written by the WebPulse Newsroom with AI assistance and checked against the reporting below. When there is more to explain, we follow up with a full story. How we use AI.

Reporting: Erlang/OTP maintainers (Erlang project, via GitHub security advisory GHSA-7mff-v332-665j).