CVE-2026-89422
CVE-2026-89422 · TLS 1.3 client skips server authentication when ServerHello carries an unsolicited pre_shared_key extension
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.3 · Critical · EPSS 0.5% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
otp
- Versions
- ≥ 22.2: Affected; ≥ 27.3.4.18: Not affected; ≥ 28.5.0.7: Not affected; ≥ 29.1.1: Not affected (otp)
Update to 27.3.4.18
otp
- Versions
- ≥ 9.5: Affected; ≥ 11.2.12.13: Not affected; ≥ 11.6.0.6: Not affected; ≥ 11.7.7: Not affected (otp)
Update to 11.2.12.13
otp
- Versions
- ≥ 21b8a1b0ad0adf200682b3854bc50114ab2b8c62: Affected; ≥ afec5156361bb50d3607c7c1a453c19b9149b324: Not affected; ≥ 98c66c858113949c4262d26cd7d426c4b09d2b35: Not affected; ≥ fd1d9d07fc92ec0d59f96dfb66182195882bb7dd: Not affected (git)
Update to 98c66c858113949c4262d26cd7d426c4b09d2b35
erlang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+dfsg-1
- 1:27.3.4.9+dfsg-1
- 1:28.0+dfsg-1
- 1:28.0.1+dfsg-1
- 1:28.0.2+dfsg-1
- 1:28.0.4+dfsg-1
- 1:28.1.1+dfsg-1
- 1:28.2+dfsg-1
- 1:28.3+dfsg-1
- 1:28.3.1+dfsg-1
- 1:29.0+dfsg-1
- 1:29.0+dfsg-2
- 1:29.0.1+dfsg-1
- 1:29.0.2+dfsg-1
- 1:29.0.3+dfsg-1
- 1:29.0.4+dfsg-1
- 1:29.0.6+dfsg-1
- 1:29.0~rc1+dfsg-1
- 1:29.0~rc1+dfsg-2
- 1:29.0~rc2+dfsg-1
- 1:29.0~rc3+dfsg-1
- 1:29.0~rc3+dfsg-2
- 1:29.0~rc3+dfsg-3
- 1:29.0~rc3+dfsg-4
- 1:29.1.1+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
erlang Debian:13
- Versions
- 1:27.3.4.1+dfsg-1
- 1:27.3.4.1+dfsg-1+deb13u1
- 1:27.3.4.1+dfsg-1+deb13u2
- 1:27.3.4.1+dfsg-1+deb13u3
- Affected ranges
- ECOSYSTEM: < 1:27.3.4.1+dfsg-1+deb13u4
Update to 1:27.3.4.1+dfsg-1+deb13u4
erlang Debian:14
- Versions
- 1:27.3.4.1+dfsg-1
- 1:27.3.4.10+dfsg-1
- 1:27.3.4.11+dfsg-1
- 1:27.3.4.11+dfsg-2
- 1:27.3.4.11+dfsg-3
- 1:27.3.4.11+dfsg-4
- 1:27.3.4.11+dfsg-5
- 1:27.3.4.11+dfsg-6
- 1:27.3.4.11+dfsg-7
- 1:27.3.4.12+dfsg-1
- 1:27.3.4.3+dfsg-1
- 1:27.3.4.4+dfsg-1
- 1:27.3.4.6+dfsg-1
- 1:27.3.4.8+dfsg-1
- 1:27.3.4.9+dfsg-1
- 1:28.0+dfsg-1
- 1:28.0.1+dfsg-1
- 1:28.0.2+dfsg-1
- 1:28.0.4+dfsg-1
- 1:28.1.1+dfsg-1
- 1:28.2+dfsg-1
- 1:28.3+dfsg-1
- 1:28.3.1+dfsg-1
- 1:29.0+dfsg-1
- 1:29.0+dfsg-2
- 1:29.0.1+dfsg-1
- 1:29.0.2+dfsg-1
- 1:29.0.3+dfsg-1
- 1:29.0.4+dfsg-1
- 1:29.0.6+dfsg-1
- 1:29.0~rc1+dfsg-1
- 1:29.0~rc1+dfsg-2
- 1:29.0~rc2+dfsg-1
- 1:29.0~rc3+dfsg-1
- 1:29.0~rc3+dfsg-2
- 1:29.0~rc3+dfsg-3
- 1:29.0~rc3+dfsg-4
- Affected ranges
- ECOSYSTEM: < 1:29.1.1+dfsg-1
Update to 1:29.1.1+dfsg-1
erlang Ubuntu:Pro:20.04:LTS
- Versions
- 1:22.0.7+dfsg-1build1
- 1:22.2+dfsg-1
- 1:22.2.1+dfsg-1
- 1:22.2.2+dfsg-1
- 1:22.2.3+dfsg-1
- 1:22.2.3+dfsg-2
- 1:22.2.4+dfsg-1
- 1:22.2.7+dfsg-1
- 1:22.2.7+dfsg-1ubuntu0.2
- 1:22.2.7+dfsg-1ubuntu0.3
- 1:22.2.7+dfsg-1ubuntu0.4
- 1:22.2.7+dfsg-1ubuntu0.5
- 1:22.2.7+dfsg-1ubuntu0.5+esm1
- 1:22.2.7+dfsg-1ubuntu0.5+esm2
- Affected ranges
- ECOSYSTEM: < 1:22.2.7+dfsg-1ubuntu0.5+esm3
Update to 1:22.2.7+dfsg-1ubuntu0.5+esm3
erlang Ubuntu:22.04:LTS
- Versions
- 1:23.2.6+dfsg-1build1
- 1:24.1.1+dfsg-1
- 1:24.1.4+dfsg-1
- 1:24.1.5+dfsg-1
- 1:24.1.5+dfsg-1ubuntu1
- 1:24.2+dfsg-1
- 1:24.2.1+dfsg-1
- 1:24.2.1+dfsg-1ubuntu0.1
- 1:24.2.1+dfsg-1ubuntu0.2
- 1:24.2.1+dfsg-1ubuntu0.3
- 1:24.2.1+dfsg-1ubuntu0.4
- 1:24.2.1+dfsg-1ubuntu0.5
- 1:24.2.1+dfsg-1ubuntu0.6
- 1:24.2.1+dfsg-1ubuntu0.7
- Affected ranges
- ECOSYSTEM: < 1:24.2.1+dfsg-1ubuntu0.8
Update to 1:24.2.1+dfsg-1ubuntu0.8
erlang Ubuntu:24.04:LTS
- Versions
- 1:25.2.3+dfsg-1
- 1:25.3.2.8+dfsg-1
- 1:25.3.2.8+dfsg-1ubuntu1
- 1:25.3.2.8+dfsg-1ubuntu3
- 1:25.3.2.8+dfsg-1ubuntu4
- 1:25.3.2.8+dfsg-1ubuntu4.1
- 1:25.3.2.8+dfsg-1ubuntu4.2
- 1:25.3.2.8+dfsg-1ubuntu4.3
- 1:25.3.2.8+dfsg-1ubuntu4.4
- 1:25.3.2.8+dfsg-1ubuntu4.5
- 1:25.3.2.8+dfsg-1ubuntu4.6
- 1:25.3.2.8+dfsg-1ubuntu4.7
- Affected ranges
- ECOSYSTEM: < 1:25.3.2.8+dfsg-1ubuntu4.8
Update to 1:25.3.2.8+dfsg-1ubuntu4.8
erlang Ubuntu:26.10
- Versions
- 1:27.3.4.6+dfsg-1
- 1:27.3.4.12+dfsg-1
- 1:29.0.6+dfsg-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
erlang Ubuntu:26.04:LTS
- Versions
- 1:27.3.4.1+dfsg-1build1
- 1:27.3.4.3+dfsg-1
- 1:27.3.4.4+dfsg-1
- 1:27.3.4.6+dfsg-1
- 1:27.3.4.6+dfsg-1ubuntu0.1
- Affected ranges
- ECOSYSTEM: < 1:27.3.4.6+dfsg-1ubuntu0.2
Update to 1:27.3.4.6+dfsg-1ubuntu0.2
Original sources
- https://github.com/erlang/otp/security/advisories/GHSA-rgxr-4g4w-j875
- https://cna.erlef.org/cves/CVE-2026-89422.html
- https://osv.dev/vulnerability/EEF-CVE-2026-89422
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/21b8a1b0ad0adf200682b3854bc50114ab2b8c62
- https://github.com/erlang/otp/commit/afec5156361bb50d3607c7c1a453c19b9149b324
- https://github.com/erlang/otp/commit/98c66c858113949c4262d26cd7d426c4b09d2b35
- https://github.com/erlang/otp/commit/fd1d9d07fc92ec0d59f96dfb66182195882bb7dd
- https://nvd.nist.gov/vuln/detail/CVE-2026-89422