# CVE-2026-124286: TLS 1.2 Client Completes Handshake Without a Server Certificate

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.29% (percentile 14, 2026-11-28)
- **CWE:** CWE-347
- **Published:** 2026-11-24T15:12:02.452Z
- **Modified:** 2026-11-24T19:12:16.707Z

## Who should check

- Anyone running Erlang OTP \>= 5.3.4, \< \*
- Anyone running Erlang OTP \>= 17.0, \< \*
- Anyone running Erlang OTP \>= 938a5246a52d30897b4f47439352da4425ea6fc5, \< \*

## 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.

## Affected and fixed versions

- Erlang OTP: \>= 5.3.4, \< \* (cvelist)
- Erlang OTP: \>= 17.0, \< \* (cvelist)
- Erlang OTP: \>= 938a5246a52d30897b4f47439352da4425ea6fc5, \< \* (cvelist)

## Mitigation

- Vendor workaround: Restrict TLS client connections to TLS 1.3 by setting versions to \['tlsv1.3'\] in the client's ssl options.
- 
- If a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no ServerKeyExchange message. They provide no forward secrecy, and many servers do not accept them.
- 
- RsaOnly = ssl:filter\_cipher\_suites(
-     ssl:cipher\_suites(all, 'tlsv1.2'),
-     \[{key\_exchange, fun(rsa) -\> true; (\_) -\> false end}\]
- ),
- Opts = \[
-     {verify, verify\_peer},
-     {cacerts, public\_key:cacerts\_get()},
-     {versions, \['tlsv1.2'\]},
-     {ciphers, RsaOnly},
-     {server\_name\_indication, "www.example.com"},
-     {customize\_hostname\_check, \[
-         {match\_fun, public\_key:pkix\_verify\_hostname\_match\_fun(https)}
-     \]}
- \].

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-124286. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-124286.md
Affected: Erlang OTP >= 5.3.4, < *; Erlang OTP >= 17.0, < *; Erlang OTP >= 938a5246a52d30897b4f47439352da4425ea6fc5, < *
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Erlang OTP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-124286 being exploited?

There is no confirmed exploitation: CVE-2026-124286 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-124286?

Critical: CVSS 9.1 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-124286?

Erlang OTP \>= 5.3.4, \< \*; Erlang OTP \>= 17.0, \< \*; Erlang OTP \>= 938a5246a52d30897b4f47439352da4425ea6fc5, \< \*.

### Is there a fix for CVE-2026-124286?

No fixed version is listed in the sources yet. Vendor workaround: Restrict TLS client connections to TLS 1.3 by setting versions to \['tlsv1.3'\] in the client's ssl options.  If a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no ServerKeyExchange message. They provide no forward secrecy, and many servers do not accept them.  RsaOnly = ssl:filter\_cipher\_suites(     ssl:cipher\_suites(all, 'tlsv1.2'),     \[{key\_exchange, fun(rsa) -\> true; (\_) -\> false end}\] ), Opts = \[     {verify, verify\_peer},     {cacerts, public\_key:cacerts\_get()},     {versions, \['tlsv1.2'\]},     {ciphers, RsaOnly},     {server\_name\_indication, "www.example.com"},     {customize\_hostname\_check, \[         {match\_fun, public\_key:pkix\_verify\_hostname\_match\_fun(https)}     \]} \].

### How do I check if I'm affected by CVE-2026-124286?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j>
- patch: <https://github.com/erlang/otp/commit/938a5246a52d30897b4f47439352da4425ea6fc5>
- patch: <https://github.com/erlang/otp/commit/74782afedd9090bad0ab1dede237a2389e94743f>
- patch: <https://github.com/erlang/otp/commit/d9a931963d3d49c7f73ea509221c9c66737977c7>
- other: <https://cna.erlef.org/cves/CVE-2026-124286.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-124286>
- other: <https://www.erlang.org/doc/system/versions.html#order-of-versions>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-124286>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-124286> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-124286>
