CVE-2026-124286
TLS 1.2 Client Completes Handshake Without a Server Certificate
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)}
- ]}
- ].
Who should check
- Anyone running Erlang OTP >= 5.3.4, < *
- Anyone running Erlang OTP >= 17.0, < *
- Anyone running Erlang OTP >= 938a5246a52d30897b4f47439352da4425ea6fc5, < *
Vulnerability facts
- Affected
- Erlang OTP >= 5.3.4, < *; Erlang OTP >= 17.0, < *; Erlang OTP >= 938a5246a52d30897b4f47439352da4425ea6fc5, < *
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- 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:NOpen in CVSS calculator
Show all 11 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
- EPSS
- 0.29% chance of exploitation in 30 days (percentile 14, 2026-11-28)
- CWE
- CWE-347
- Modified
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
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
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.
More erlang vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 5.9 | CVE-2026-115747 AArch64 JIT register-cache bug allows VM denial of service via XML | Erlang | PoCEPSS 27% | |
| MEDIUM 5.7 | CVE-2026-125658 Use after free in erts file name normalization on macOS | Erlang | PoCEPSS 23% | |
| MEDIUM 6.9 | CVE-2026-120961 binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM | Erlang | EPSS 13% | |
| MEDIUM 6.9 | CVE-2026-117642 binary_to_term Stack Exhaustion via Nested Funs in NEW_FUN_EXT and EXPORT_EXT Aborts the VM | Erlang | EPSS 20% | |
| HIGH 7.0 | CVE-2026-116293 binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM | Erlang | EPSS 11% |