CVE-2026-89422
Critical 9.3No known exploitationFix availableTLS 1.3 client skips server authentication when ServerHello carries an unsolicited pre_shared_key extension
Record last updated
CVSS score
Critical on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 41% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
Key Exchange without Entity Authentication vulnerability in Erlang/OTP ssl allows a peer that answers a TLS 1.3 client connection to impersonate the intended server. A pre_shared_key extension in the ServerHello that the client never offered causes the client to complete the handshake without validating the server's certificate, so ssl:connect returns {ok, Socket} against a peer holding no certificate, no private key and no prior session. tls_client_connection_1_3:handle_server_hello/2 passes the received extension to tls_gen_connection_1_3:handle_resumption/2, which sets resumption = true on its mere presence without checking that the client offered a PSK. tls_handshake_1_3:get_pre_shared_key/4 meanwhile falls back to the all-zero "no PSK" value and keys the handshake with the ordinary non-PSK schedule, so the attacker's own ephemeral key suffices. The resumption flag then routes maybe_resumption/1 straight to wait_finished, skipping the certificate-handling states, so certificate path validation, verify_fun, hostname verification, partial_chain, CRL checking and OCSP stapling are all bypassed. The default client configuration is affected; clients restricted to TLS 1.2 are not. This issue affects OTP from OTP 22.2 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to ssl from 9.5 before 11.2.12.13, 11.6.0.6, and 11.7.7.
Weakness: CWE-322
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- Restrict affected clients to TLS 1.2 by setting {versions, ['tlsv1.2']} in the client's ssl options. This avoids the vulnerable code path at the cost of losing TLS 1.3. No configuration both keeps TLS 1.3 and mitigates the issue. Source (opens in a new tab)
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Erlang | OTP | 21b8a1b0ad0adf200682b3854bc50114ab2b8c62 | Not documented | CVE Program |
| Erlang | OTP | 22.2 | Not documented | CVE Program |
| Erlang | OTP | 9.5 | Not documented | CVE Program |
| Microsoft | azl3 erlang 26.2.5.21-6 on Azure Linux 3.0 | Not documented | 26.2.5.21-7 | Microsoft MSRC |
| Microsoft | azl4 erlang 26.2.5.21-14.azl4 on Azure Linux 4.0 | Not documented | 0:26.2.5.21-14.azl4 | Microsoft MSRC |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Fix commit 98c66c8 in erlang/otp (opens in a new tab)patch
- Fix commit afec515 in erlang/otp (opens in a new tab)patch
- Fix commit fd1d9d0 in erlang/otp (opens in a new tab)patch
- GitHub Advisory (opens in a new tab)related, vendor-advisory
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- EEF CNA record for CVE-2026-89422 (opens in a new tab)related
- Introducing commit 21b8a1b in erlang/otp (opens in a new tab)related
- OSV record EEF-CVE-2026-89422 (opens in a new tab)related
- Erlang/OTP version ordering (opens in a new tab)x_version-scheme