Skip to main content
Menu
CVEs

Erlang OTP certificate verification bypass in TLS handshake

Affects Erlang OTP ssl clients from 17.0 before 27.3.4.14 (and from 5.3.4 before 11.2.12.10) whose connection can use TLS 1.2 or DTLS 1.2. Fixed in OTP 27.3.4.14.

CVE-2026-124286Published , updated

9.1CriticalCNA
Exploited
No known exploitation
Fix
Fixed in 11.2.12.10, 27.3.4.14
Who is exposed
Default setups

Summary

Erlang OTP's ssl component lets a TLS 1.2 or DTLS client finish a handshake without verifying a server certificate, so an on-path attacker can impersonate any server to that client. The attacker can do this remotely over the network without logging in, and TLS 1.3 clients are not affected.

Written by a model

Original description

Improper Verification of Cryptographic Signature vulnerability in Erlang OTP ssl (ssl_handshake module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client.

When a server sends no Certificate message and a ServerKeyExchange without a signature, ssl_handshake:decode_server_key/3 reports the signature algorithm as anon, and ssl_handshake:verify_signature/5 returns true for anon without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges with a cipher suite the client offered. Certificate path validation, verify_fun and the hostname check do not run, and ssl:connect/3 returns {ok, Socket} with {verify, verify_peer} set. The TLS 1.3 client is not affected.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.9, and OTP 29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3.

Who should check

Teams running Erlang/OTP clients that open TLS 1.2 or DTLS 1.2 connections (for example via ssl:connect) on OTP 17.0 up to the patched releases.

“This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.9, and OTP 29.0.3”

cna.erlef.org

What to do

  1. Check every install: default setups are affected.

  2. Upgrade to a fixed version: 11.2.12.10, 27.3.4.14.

  3. Workaround: Restrict TLS client connections to TLS 1.3 by setting versions to ['tlsv1.3'] in the client's ssl options.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-124286 (TLS 1.2 Client Completes Handshake Without a Server Certificate), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-124286 (entry last updated 2026-11-24):
Affected:
- Erlang OTP: from 5.3.4, fixed in 11.2.12.10
- Erlang OTP: from 17.0, fixed in 27.3.4.14
- Erlang OTP: version range not reported
Fixed versions: 11.2.12.10, 27.3.4.14.
Conditions (all must be true for the bug to be hit):
- Erlang OTP ssl from 5.3.4 before 11.2.12.10, 11.6.0.8 and 11.7.3 (OTP 17.0 before 27.3.4.14, 28.5.0.9 and 29.0.3). (source: https://cna.erlef.org/cves/CVE-2026-124286.html)
- The client connection can use TLS 1.2 or DTLS 1.2. (source: https://cna.erlef.org/cves/CVE-2026-124286.html)
- The server sends no Certificate message and an unsigned ServerKeyExchange. (source: https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j)
Setup: the bug is reachable in a default setup; no special feature or setting is needed.
Attacker needs: network access, no login, no user action.
Workaround: Restrict TLS client connections to TLS 1.3 by setting versions to ['tlsv1.3'] in the client's ssl options. (source: https://cna.erlef.org/cves/CVE-2026-124286.html)
CISA KEV: CVE-2026-124286 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-124286 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j
- https://github.com/erlang/otp/commit/74782afedd9090bad0ab1dede237a2389e94743f
- https://github.com/erlang/otp/commit/d9a931963d3d49c7f73ea509221c9c66737977c7
- https://cna.erlef.org/cves/CVE-2026-124286.html
- https://osv.dev/vulnerability/EEF-CVE-2026-124286
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/938a5246a52d30897b4f47439352da4425ea6fc5
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-124286
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-124286"}.

Affected versions

cve.now Index

31Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure22/25Default setups, reachable over the network without a login
  • Reach?/20Unknown. No tracked technology or package matched
  • Severity9.1/10CVSS 9.1
  • No patch0/5No signal

What would change the score

  • Would score about 71 if added to CISA KEV
  • Would score about 66 if CISA's SSVC rates exploitation active

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Posted on X by cve.now

Evidence 9

Questions about CVE-2026-124286

Is CVE-2026-124286 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A malicious server can send no Certificate message and an unsigned ServerKeyExchange, and the affected client still completes the handshake. An on-path attacker can then impersonate any server to that client and read and modify all application data on the connection.

Source: cna.erlef.org, github.com

Which versions are affected by CVE-2026-124286?

ssl: from 5.3.4 before 11.2.12.10. otp: from 17.0 before 27.3.4.14.

Source: cve.now feed data

How do I fix CVE-2026-124286?

Upgrade to OTP 27.3.4.14 or a later fixed release. Erlang's notes also recommend OTP 28.5.0.9 or 29.0.3, which are newer versions and not listed as this vulnerability's fix.

Source: cna.erlef.org, github.com

No corrections so far. Something wrong on this page? Report an error.