Erlang/OTP TLS client auth bypass lets AitM impersonate servers and intercept encrypted traffic (CVE-2026-124286)
Severity: critical · Patch status: patched · Since 2026-11-24 · CVE-2026-124286
The ssl application in Erlang/OTP mishandles TLS 1.2 and DTLS 1.2 client handshakes. A server that sends no Certificate message and an unsigned anonymous ECDH ServerKeyExchange is accepted as authenticated, because the signature check returns true for the anonymous algorithm without a key. The client then skips certificate path validation and the hostname check, and the handshake completes even when the client is configured for full server authentication (verifypeer with cacerts). An on-path attacker can therefore impersonate any server to an affected client and read and modify its traffic, and the attacker picks the cipher suite, so the real server's key type does not matter. Affected: OTP from 17.0 before the fixed releases, and ssl from 5.3.4 before the fixed releases. Fixed in 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. TLS 1.3 clients and all servers are not affected. Workarounds: restrict clients to TLS 1.3, or, as a last resort for TLS 1.2, offer only static RSA key transport suites, which removes forward secrecy and many servers will refuse. The sources report no in-the-wild exploitation. The issue was found and reported by Philip Calvin.
What to do
- Upgrade Erlang/OTP and the ssl application to a patched release immediately (OTP 29.0.3, 28.5.0.9, 27.3.4.14; ssl 11.7.3, 11.6.0.8, 11.2.12.10)
- Where patching is not yet possible, restrict Erlang TLS clients to TLS 1.3 only (unaffected)
- As a last resort for TLS 1.2, offer only static RSA key transport cipher suites, understanding the loss of forward secrecy and the likelihood that servers refuse them
- Audit Erlang applications acting as TLS or DTLS clients for exposure to AitM positions (untrusted networks, proxies)
- Monitor for exploitation of other Erlang/OTP flaws: CVE-2025-32433 (Erlang/OTP SSH server, unauthenticated RCE) is in CISA KEV (dateAdded 2025-06-09)
Fixed versions
- OTP 29.0.3, 28.5.0.9, 27.3.4.14
- ssl 11.7.3, 11.6.0.8, 11.2.12.10
Sources
All live incidents on Threat Watch