All CVEs

Erlang/OTP's TLS client, used by Erlang and Elixir apps, accepts a server with no certificate when TLS 1.2 is allowed (the default), so an attacker on the network path can pose as any server. Repro steps are public; no attacks seen. Update Erlang/OTP. https://tldrcve.com/erlang-tls-client/

Erlang/OTP · CVE-2026-124286

Erlang TLS client

Patch now if…Fakes any TLS server, but needs an on-path attacker.

TL;DR

Erlang/OTP's TLS client, used by Erlang and Elixir apps, accepts a server with no certificate when TLS 1.2 is allowed (the default), so an attacker on the network path can pose as any server. Repro steps are public; no attacks seen. Update Erlang/OTP.

More details

A fake server skips its certificate and sends an unsigned key exchange, so the certificate check, verify_fun and the hostname check never run, even with verify_peer set, and the attacker can then read and change the traffic; the CVE record gives reproduction steps, and BoringSSL's public test suite already has a server that behaves this way. Phillip Calvin reported it (Erlang's advisory spells it Philip), Erlang rates it critical (CVSS 4.0: 9.1), and the OTP 27 and 29 fix shipped on 2 Jul as hardening for a different issue but, by accident, reached OTP 28 only on 24 Nov. Three of the nine other bugs Erlang fixed that day are rated high: CVE-2026-116225 in SNMP, CVE-2026-116293 in binary_to_term and CVE-2026-116382 in inets.

How scary is it?

updated 30 Nov
  • Yes: Works without logging in1,2
  • Yes: Public exploit code is out2,11
  • No: No attacks seen yet1,2
  • No: Not on CISA's exploited list9

Scare-o-meter

Check today

Find out if you're affected.
If you are, patch.

Are you affected? only if all are true

1Erlang/OTP without the fix

Affected: every OTP from 17.0 that's older than 27.3.4.14 on OTP 27, 28.5.0.9 on OTP 28 or 29.0.3 on OTP 29 (the ssl app before 11.2.12.10, 11.6.0.8 or 11.7.3). OTP 17 through 26 are affected and no longer get fixes. Distro packages count: as of 30 Nov, Debian 12 (OTP 25) and 13 (OTP 27.3.4.1) are marked vulnerable, and Ubuntu rates it Medium but lists every release as needs evaluation. The installed OTP version is in releases/<OTP release>/OTP_VERSION under the Erlang root (a ** at the end means it was patched in place); the ssl version is what application:get_key(ssl, vsn) returns, or Application.spec(:ssl, :vsn) in Elixir. A release (for example one built with mix release) usually has no OTP_VERSION file, so check its ssl version.1,2,4,5,6,7,10,13,14

2Your client allows TLS/DTLS 1.2

Only TLS and DTLS clients are affected: code that connects to another server with Erlang's ssl, including from Elixir. A client is exposed when it allows TLS 1.2 or DTLS 1.2; the default ssl:connect options allow TLS 1.2, and what counts is whether your client allows it, not what the real server prefers. Not affected: clients restricted to TLS 1.3, cipher suites without a ServerKeyExchange (RSA key transport, ECDH_RSA, ECDH_ECDSA), and servers.1,2

3An attacker can intercept the traffic

The attacker has to be in a man-in-the-middle position between your app and the server it connects to. Erlang says the type of key in the real server's certificate doesn't matter, because the attacker picks the cipher suite. The public reproduction is a test server the client connects to on purpose; using it against a real connection would need that position. So whether you're exposed depends on your network path, not just your version, which is why we rate it Patch if, not Patch now.1,2,11

What to do

1Update Erlang/OTP

Move to 29.1.3, 28.5.0.9 or 27.3.4.20, the newest release on each supported line, which also fix the nine other bugs from 24 Nov. OTP 26 and older get no fixes: move to OTP 27 or newer. On distro packages, take your distro's update when it ships. A release built with mix release packages the runtime with your code, so rebuild and redeploy it on a fixed OTP.1,3,4,6,8,10

Latest safe versions checked 3 Dec

Erlang/OTP → OTP 2929.1.3OTP 2828.5.0.9OTP 2727.3.4.20Erlang/OTP supports the last three releases with security fixes. On OTP 26 or older, move to OTP 27 or newer.
2Can't update yet? Mind TLS 1.3

Erlang's workaround is to let clients use only TLS 1.3 ({versions, ['tlsv1.3']}). But Erlang's TLS 1.3 client had its own critical server-impersonation bug, CVE-2026-89422, fixed only in 29.1.1, 28.5.0.7 and 27.3.4.18, and its workaround is the opposite: TLS 1.2 only. So among releases this bug still affects, TLS 1.3 only avoids both server-impersonation bugs just on 28.5.0.7 and 28.5.0.8; everywhere else, update. On 28.5.0.7, also leave session_tickets off (the default) or manual: with {session_tickets, auto}, a malicious TLS 1.3 server can crash TLS across the whole node (CVE-2026-94200, fixed in 28.5.0.8). Erlang doesn't recommend its last resort, offering only static RSA suites: it gives up forward secrecy and the handshake may fail.1,12,15

This page shows you how to check. It can't tell you you're safe.

Sources (15) and changelog
  1. GitHub: Erlang/OTP advisory GHSA-7mff-v332-665j, affected and fixed versions, impact, workarounds, credit 24 Nov
  2. CVE record (EEF): CVE-2026-124286, how it works, TLS 1.2 and DTLS clients, affected ranges 24 Nov
  3. GitHub: Erlang/OTP releases, 29.0.3 and 27.3.4.14 (2 Jul), 29.1.3, 28.5.0.9 and 27.3.4.20 (24 Nov) 24 Nov
  4. GitHub: Erlang/OTP SECURITY.md, the last three OTP releases get security fixes
  5. Erlang docs: OTP versions, where to read the installed OTP version
  6. Debian security tracker: CVE-2026-124286, bookworm and trixie vulnerable
  7. Ubuntu: CVE-2026-124286, needs evaluation
  8. GitHub: Erlang/OTP security advisories, nine more fixed on 24 Nov 24 Nov
  9. CISA KEV catalog: not listed
  10. Elixir docs: mix release packages your code and the runtime together
  11. BoringSSL test runner: UnauthenticatedECDH, a test server that sends no certificate and an unsigned key exchange
  12. GitHub: Erlang/OTP advisory GHSA-rgxr-4g4w-j875 (CVE-2026-89422), TLS 1.3 client bug, fixed versions, TLS 1.2-only workaround 22 Sep
  13. Erlang docs: application:get_key/2, read an application's version (vsn)
  14. Elixir docs: Application.spec/2, read an application's version (:vsn)
  15. GitHub: Erlang/OTP advisory GHSA-m5mh-q53w-67jq (CVE-2026-94200), TLS 1.3 ticket store crash with session_tickets auto, fixed in 28.5.0.8 14 Oct