Security Advisory catalog CVE-2026-89422
Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory .
cve-program · CVE-2026-89422 Published
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.
Read the publisher's advisory Affected versions, risk and source history
Overview Affected History Connections
cve-program · CVE-2026-89422 Published otp Vendor product
Publisher's version information Shown as published. These rules are not interpreted as NuGet package version ranges.
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"tls_client_connection_1_3",
"tls_gen_connection_1_3",
"tls_handshake_1_3"
],
"packageName": "otp",
"packageURL": "pkg:software-id/erlang.org/otp",
"product": "OTP",
"programFiles": [
"lib/ssl/src/tls_client_connection_1_3.erl",
"lib/ssl/src/tls_gen_connection_1_3.erl",
"lib/ssl/src/tls_handshake_1_3.erl"
],
"programRoutines": [
{
"name": "tls_client_connection_1_3:handle_server_hello/2"
},
{
"name": "tls_client_connection_1_3:handle_encrypted_extensions/2"
},
{
"name": "tls_client_connection_1_3:maybe_resumption/1"
},
{
"name": "tls_gen_connection_1_3:handle_resumption/2"
},
{
"name": "tls_handshake_1_3:get_pre_shared_key/4"
}
],
"vendor": "Erlang",
"versions": [
{
"changes": [
{
"at": "27.3.4.18",
"status": "unaffected"
},
{
"at": "28.5.0.7",
"status": "unaffected"
},
{
"at": "29.1.1",
"status": "unaffected"
}
],
"lessThan": "*",
"status": "affected",
"version": "22.2",
"versionType": "otp"
}
]
} ssl Vendor product
Publisher's version information Shown as published. These rules are not interpreted as NuGet package version ranges.
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"tls_client_connection_1_3",
"tls_gen_connection_1_3",
"tls_handshake_1_3"
],
"packageName": "ssl",
"packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"product": "OTP",
"programFiles": [
"src/tls_client_connection_1_3.erl",
"src/tls_gen_connection_1_3.erl",
"src/tls_handshake_1_3.erl"
],
"programRoutines": [
{
"name": "tls_client_connection_1_3:handle_server_hello/2"
},
{
"name": "tls_client_connection_1_3:handle_encrypted_extensions/2"
},
{
"name": "tls_client_connection_1_3:maybe_resumption/1"
},
{
"name": "tls_gen_connection_1_3:handle_resumption/2"
},
{
"name": "tls_handshake_1_3:get_pre_shared_key/4"
}
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"versions": [
{
"changes": [
{
"at": "11.2.12.13",
"status": "unaffected"
},
{
"at": "11.6.0.6",
"status": "unaffected"
},
{
"at": "11.7.7",
"status": "unaffected"
}
],
"lessThan": "*",
"status": "affected",
"version": "9.5",
"versionType": "otp"
}
]
} erlang/otp https://github.com
Publisher's version information Shown as published. These rules are not interpreted as NuGet package version ranges.
{
"collectionURL": "https://github.com",
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"tls_client_connection_1_3",
"tls_gen_connection_1_3",
"tls_handshake_1_3"
],
"packageName": "erlang/otp",
"packageURL": "pkg:github/erlang/otp",
"product": "OTP",
"programFiles": [
"lib/ssl/src/tls_client_connection_1_3.erl",
"lib/ssl/src/tls_gen_connection_1_3.erl",
"lib/ssl/src/tls_handshake_1_3.erl"
],
"programRoutines": [
{
"name": "tls_client_connection_1_3:handle_server_hello/2"
},
{
"name": "tls_client_connection_1_3:handle_encrypted_extensions/2"
},
{
"name": "tls_client_connection_1_3:maybe_resumption/1"
},
{
"name": "tls_gen_connection_1_3:handle_resumption/2"
},
{
"name": "tls_handshake_1_3:get_pre_shared_key/4"
}
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"versions": [
{
"changes": [
{
"at": "afec5156361bb50d3607c7c1a453c19b9149b324",
"status": "unaffected"
},
{
"at": "98c66c858113949c4262d26cd7d426c4b09d2b35",
"status": "unaffected"
},
{
"at": "fd1d9d07fc92ec0d59f96dfb66182195882bb7dd",
"status": "unaffected"
}
],
"lessThan": "*",
"status": "affected",
"version": "21b8a1b0ad0adf200682b3854bc50114ab2b8c62",
"versionType": "git"
}
]
} Original source record · Cite this exact observation · Complete original publisher JSON