
The Erlang/OTP project has disclosed a critical flaw in its TLS client. According to the GitHub advisory, an Erlang/OTP TLS client set up for full server authentication will complete a TLS 1.2 handshake even when the server sends no certificate at all and only an unsigned key-exchange message, in effect an anonymous key exchange presented as an authenticated one. 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 verifies peers against trusted CA certificates. The advisory says this is the case for the default client configuration, and the attacker picks the cipher suite, so the key type in the real server’s certificate does not matter.
The advisory rates it Critical, 9.1 out of 10, and credits Philip Calvin with finding and reporting it; it also carries a note that the report was submitted with AI assistance. Neither the advisory nor The Hacker News says it has been exploited. The Hacker News recalls that CVE-2025-32433, an earlier critical Erlang/OTP flaw, was exploited in the wild after it was disclosed. The advisory adds that the fix was already in OTP 29 and OTP 27 as a hardening change for a different scenario, but by accident was not included in the OTP 28 line until this advisory.
How to check if you’re affected
Affected versions are Erlang/OTP 17.0 and later for the OTP package, and ssl 5.3.4 and later. Patched 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 any version at or above one of the listed patched versions is unaffected. Only Erlang applications acting as TLS clients are affected. The advisory says servers are not affected, TLS 1.3 connections are not affected, and cipher suites that use no ServerKeyExchange message (RSA key transport, ECDH_RSA and ECDH_ECDSA) are not affected.
- Find the Erlang/OTP release behind each client that makes HTTPS or other TLS connections and compare it with the patched versions above. Our own suggestion: include any software you run that bundles its own Erlang runtime.
- If you cannot upgrade yet, the advisory’s preferred workaround is to restrict the client to TLS 1.3 only, with the option
{versions, ['tlsv1.3']}. - The advisory’s last resort for a client that must use TLS 1.2 is to offer only static RSA key-transport suites. It says this is not recommended: it gives no forward secrecy, and many servers no longer accept those suites, so the handshake may fail.
