News / 2 December 2026
Erlang/OTP: a TLS client that accepts a server without a certificate
Erlang/OTP is the runtime behind many messaging, telecom and network systems, and behind plenty of company software that nobody thinks of as "Erlang". A flaw in the way it opens secure connections lets an attacker sitting on the network path pretend to be any server, read the traffic and change it. The fix exists. The catch is that the workaround the maintainers suggest only helps if an earlier fix is already installed.
In short: update Erlang/OTP to at least 29.1.1, 28.5.0.9 or 27.3.4.18, depending on the line you run. Those releases close this flaw and the two related ones fixed earlier this year. If you do not run Erlang yourself, ask the vendors of your network, messaging and telecom products whether their products are affected.
What the flaw does
The Erlang/OTP maintainers published advisory GHSA-7mff-v332-665j on 24 November, for CVE-2026-124286. It concerns the TLS client in Erlang's ssl application, the part that connects out to other servers over HTTPS or other encrypted protocols. They rate it critical, with a score of 9.1 out of 10.
Normally a server has to prove who it is with a certificate, and the client checks it. According to the advisory, an Erlang client set up to do exactly that check still completes a TLS 1.2 connection when a malicious server sends no certificate at all and an unsigned key exchange in its place. The client then treats the connection as verified.
The result, in the maintainers' words, is that 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". The attacker picks the encryption method, so the kind of certificate the real server has does not matter. Any client that offers TLS 1.2 is exposed, and that is the default setting.
- Affected: Erlang/OTP 17.0 and later, ssl application 5.3.4 and later, when acting as a TLS client.
- Fixed in: OTP 29.0.3, 28.5.0.9 and 27.3.4.14 (ssl 11.7.3, 11.6.0.8 and 11.2.12.10).
- Not affected: TLS 1.3 connections, encryption methods without that key exchange step, and Erlang acting as a server.
- Found by: security researcher Philip Calvin, credited by the maintainers.
The advisory adds a detail worth knowing: the change had already gone into the OTP 29 and OTP 27 lines earlier, as hardening for a different scenario, but by accident it was left out of OTP 28. None of the sources we read reports attacks using this flaw so far.
Why "use TLS 1.3 only" is not the whole answer
The maintainers offer one workaround: restrict the client to TLS 1.3. As a last resort they mention a TLS 1.2 setting limited to older RSA methods, and they do not recommend it, because it gives up forward secrecy and many servers refuse it.
The TLS 1.3 route has a trap. In September the same project fixed CVE-2026-89422, a flaw in the TLS 1.3 client that also let a peer skip the certificate check entirely. That one affects OTP 22.2 and later and was fixed only in 29.1.1, 28.5.0.7 and 27.3.4.18. On an older system, switching to TLS 1.3 only moves you from one open door to another.
In July there was a third one, CVE-2026-55953, in TLS up to 1.2 and DTLS, fixed in 29.0.4, 28.5.0.4 and 27.3.4.15. Taken together, the versions that close all three are 29.1.1 or later, 28.5.0.9 or later and 27.3.4.18 or later. That is why the short answer above names those numbers and not the ones in the newest advisory.
Where Erlang/OTP hides
The September advisory names the kinds of software that use the Erlang TLS client: the built-in HTTP client, client libraries for databases and messaging, and the links between Erlang nodes. When an earlier Erlang flaw in the SSH server, CVE-2025-32433, was published in 2025, The Hacker News quoted Qualys as saying that "a majority of Cisco and Ericsson devices run Erlang", and Arctic Wolf as finding Erlang bundled in products from the Apache Software Foundation, Broadcom, EMQ Technologies, Ericsson, National Instruments, Riak Technologies and Very Technology. Cisco confirmed at the time that several of its products were affected by that SSH flaw.
That list is about the earlier flaw and does not say which products are affected now. Whether a product uses the Erlang TLS client in an affected way is a question for its vendor. What the earlier case shows is that the delay matters: according to Palo Alto Networks' Unit 42, as reported by The Hacker News, CVE-2025-32433 was exploited from early May 2025, weeks after the fix, and about 70% of the detections came from firewalls protecting industrial networks.
What it means for a company in Europe
This is a flaw on the client side. It does not show up when someone scans your servers from the internet, because it lives in the software that connects out from your network. The risk is quiet: someone who can sit between a system and the service it talks to (on a shared network, through a compromised router or by redirecting DNS) reads and changes data while both ends think the connection is checked.
Many companies run Erlang without knowing it, inside an appliance, a message broker or a product their IT provider installed. If your company falls under NIS2 in your country, handling vulnerabilities in what you run, and in what your suppliers run for you, is one of the minimum measures the directive asks for. In Romania that duty sits in article 13 of OUG 155/2024. Asking your suppliers the question in writing is part of that.
How to check whether you are exposed
- Find the full OTP version. On a normal Erlang installation it is in the text file
releases/<major>/OTP_VERSIONunder the installation folder. The Erlang documentation explains that packaged systems built from Erlang often have no such file. - Then look at the ssl application instead. In a packaged system, the folder
lib/ssl-<version>shows which ssl version is shipped. Compare it with the fixed versions above. - Ask your vendors. For appliances, messaging and telecom equipment, ask whether the product contains Erlang/OTP and whether CVE-2026-124286, CVE-2026-89422 and CVE-2026-55953 are fixed in the version you run. Ask for the answer in writing.
- Do not settle for the workaround. If TLS 1.3 only is the interim measure, make sure the system already has the CVE-2026-89422 fix.
- Keep management and outgoing connections on trusted networks until the update is in place.
Our security audit lists every service your addresses show to the internet, across all 65,535 ports, so Erlang-based services that reveal themselves land in the report with the advisories that apply. A flaw on the client side, like this one, needs a look from the inside; internal tests are quoted separately as part of a penetration test. With Security Watch we write to you within one working day when a newly published vulnerability affects something we know you run. You can also search any number in our vulnerability section.
Sources
- The Hacker News: Critical Erlang/OTP TLS Flaw Could Let Attackers Impersonate Servers and Intercept Encrypted Traffic
- Erlang/OTP on GitHub: TLS 1.2 Client Completes Handshake Without a Server Certificate (GHSA-7mff-v332-665j)
- Erlang/OTP on GitHub: TLS 1.3 Client Skips Server Authentication on Unsolicited PSK (GHSA-rgxr-4g4w-j875)
- Erlang/OTP on GitHub: (D)TLS-1.2 Server Cert Verification Bypass via Unoffered Anonymous Cipher Suite (GHSA-c6cw-pr89-w882)
- Erlang/OTP documentation: Versions
- The Hacker News: Critical Erlang/OTP SSH Vulnerability (CVSS 10.0) Allows Unauthenticated Code Execution
- The Hacker News: Researchers Spot Surge in Erlang/OTP SSH RCE Exploits, 70% Target OT Firewalls
Published on 2 December 2026. The technical details, versions and workarounds come from the three Erlang/OTP advisories; the version check from the Erlang documentation. The list of products that bundle Erlang and the exploitation of CVE-2025-32433 are as reported by The Hacker News in 2025. The Hacker News lists four critical Erlang/OTP flaws "over the last year", one of them numbered CVE-2022-37026; we did not repeat that count.