A critical signature-verification flaw in the Erlang/OTP ssl application, tracked as CVE-2026-124286 (GHSA-7mff-v332-665j), lets an on-path attacker impersonate any TLS 1.2 server.
The flaw is a CWE-347 failure (Improper Verification of Cryptographic Signature). It affects clients configured with {verify, verify_peer}, trusted cacerts, and server name indication.
According to OpenCVE’s record, the defect sits in the ssl_handshake module. When a server sends no Certificate message and a ServerKeyExchange with no signature, ssl_handshake:decode_server_key/3 labels the signature algorithm anon. ssl_handshake:verify_signature/5 then returns true for anon without needing a public key.
Erlang/OTP SSL Bug
The client does not insist on a certificate for a certificate-authenticated key exchange. The handshake therefore completes for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges whenever the chosen suite was offered by the client.
Certificate path validation, verify_fun callbacks and hostname matching never run. ssl:connect/3 returns {ok, Socket} even though verify_peer is set. In effect, an anonymous ECDH exchange is presented as an authenticated suite, and the client accepts it.
The attacker needs a man-in-the-middle position and chooses the cipher suite. The key type in the genuine server’s certificate is therefore irrelevant. Any client that offers TLS 1.2 and one of the affected key exchanges is exposed, including the default client configuration.
The advisory rates it critical under CVSS v4 with the vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N. That means a network attack vector, low complexity, present attack requirements, no privileges and no user interaction.
Confidentiality and integrity of the vulnerable system are rated high, and availability is unaffected. Reports a CVSS 9.1 score and notes that the same release train also fixed two other issues on November 24, 2026.
TLS 1.3 connections are not affected. Suites with no ServerKeyExchange are also safe: RSA key transport, ECDH_RSA and ECDH_ECDSA. Erlang/OTP TLS servers are not affected. OpenCVE says DTLS clients are also exposed. Attackers who read and modify session data can harvest credentials, tokens and API payloads. Message queues, databases and microservices that use Erlang clients for service-to-service traffic are especially exposed. Defenders should check clients that talk to external endpoints first.
Affected and Fixed Builds
The flaw was introduced in OTP 17.0, which corresponds to ssl 5.3.4. Patched OTP releases are 29.0.3, 28.5.0.9 and 27.3.4.14, which ship ssl 11.7.3, 11.6.0.8 and 11.2.12.10. The advisory notes that the fix landed in OTP 29 and OTP 27 earlier as a hardening change for a different scenario. It was accidentally omitted from the OTP 28 track.
The Erlang team’s version scheme documentation explains how to compare these branch versions. Any version equal to or later than a listed patched version on the same branch is unaffected. Releases older than OTP 17.0 are not listed because they cannot be compared under the scheme, and they are long unsupported.
The advisory credits Philip Calvin with the responsible disclosure. Ingela Andin of the OTP team at Ericsson developed the remediation.
This is not the first certificate-validation bypass in the Erlang TLS stack this year. SentinelOne documents CVE-2026-89422, where an unsolicited pre_shared_key extension in a TLS 1.3 ServerHello lets a client skip certificate validation.
OpenCVE also lists a separate flaw where a TLS 1.2 or DTLS client accepts an unoffered anonymous suite such as TLS_ECDH_anon_*. Together, these show that handshake state-machine edge cases are a recurring weakness in protocol implementations.
Teams tracking critical authentication flaws can compare it with the GitHub git push command injection, where an internal pipeline trusted unvalidated input in the same way. Many developer platforms and brokers are built on Erlang, so inventory matters.
Mitigation
Upgrade to 29.0.3, 28.5.0.9, 27.3.4.14 or later. Where patching is not immediately possible, restrict clients to TLS 1.3 with {versions, ['tlsv1.3']}. As a last resort, a TLS 1.2 client can offer only static RSA key-transport suites, built with ssl:filter_cipher_suites/2 and a key_exchange filter for rsa.
The advisory does not recommend this. Static RSA provides no forward secrecy, and many servers no longer accept it, so handshakes may simply fail.
Teams should also use SBOM and dependency scanning to find every embedded OTP runtime, including those in RabbitMQ, ejabberd and container images. For related infrastructure triage, see N-able Mail Assure’s internal network access flaw. Cloud teams running agent tooling can also review AWS’s MCP Gateway Registry SSRF fix.
FAQ
What is CVE-2026-124286? It is a critical CWE-347 flaw in Erlang/OTP ssl that lets an on-path attacker impersonate any TLS 1.2 or DTLS server.
Which versions fix it? OTP 29.0.3, 28.5.0.9 and 27.3.4.14, which correspond to ssl 11.7.3, 11.6.0.8 and 11.2.12.10.
Is TLS 1.3 affected? No, TLS 1.3 connections, Erlang/OTP servers, and suites without a ServerKeyExchange are not affected.
Does verify_peer protect clients? No, because certificate path validation, verify_fun and hostname checks are skipped when the unsigned ServerKeyExchange is accepted.