Skip to content
Erlang/OTP security advisory

Erlang/OTP security advisory

github.com • November 27, 2026

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).

An attacker in a man-in-the-middle position can therefore impersonate any TLS server to an affected client, and read and modify all traffic, even when the client is configured for full server authentication, for example:

The attacker chooses the cipher suite, so the type of key in the real server's certificate does not matter. Any client that offers TLS 1.2 and one of the affected key exchanges is vulnerable, which is the case for the default client configuration.

TLS 1.3 connections are not affected. Cipher suites that do not use a ServerKeyExchange (RSA key transport, ECDH_RSA, ECDH_ECDSA) are not affected. Servers are not affected.

As a last resort, a client that must use TLS 1.2 and cannot yet take the fix can offer only static RSA key transport suites, which have no ServerKeyExchange and so are not subject to the unsigned-SKX bypass. Can looks something like:

This is not recommended. Static RSA key transport provides no forward secrecy, and many servers no longer accept it, so the handshake may simply fail. Prefer a patched release, or restrict the client to TLS 1.3 ( {versions, ['tlsv1.3']} ), which is unaffected.

Affected/Unaffected Versions

A version larger than or equal to one of the listed patched versions is unaffected ; otherwise , a version that satisfies an expression listed under affected versions is affected , and if it does not, it is unaffected .

The documentation of the new OTP version scheme describes how versions should be compared. Note that versions used prior to OTP 17.0, when the new OTP version scheme was introduced, are never listed since it is not well defined how to compare those versions.

In this case the vulnerability was introduced in OTP-17.0, however that does not make it a good idea to run those older versions that probably are affected by other vulnerabilities and since many years not supported which also applies to OTP-17.

Note that the issue was fixed on the OTP-29, and OTP-27 prior to this advisory as hardening fix for a different scenario but by accident was not included for the OTP-28 track.

Thanks to Philip Calvin for finding and responsibly disclosing this vulnerability to the Erlang/OTP project.

The full story

This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.

Extracted Entities