{"id":"CVE-2025-46712","published":"2025-05-08T19:26:27Z","modified":"2026-01-12T14:40:27Z","title":"Erlang/OTP SSH Has Strict KEX Violations","vendor":"erlang","product":"otp","tier":"tail","description":{"text":"Erlang/OTP is a set of libraries for the Erlang programming language. In versions prior to OTP-27.3.4 (for OTP-27), OTP-26.2.5.12 (for OTP-26), and OTP-25.3.2.21 (for OTP-25), Erlang/OTP SSH fails to enforce strict KEX handshake hardening measures by allowing optional messages to be exchanged. This allows a Man-in-the-Middle attacker to inject these messages in a connection during the handshake. This issue has been patched in versions OTP-27.3.4 (for OTP-27), OTP-26.2.5.12 (for OTP-26), and OTP-25.3.2.21 (for OTP-25).","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00552,"percentile":0.47013,"provenance":"source"},"cwes":[{"id":"CWE-440","name":"Expected Behavior Violation"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-934x-xq38-hhqf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/erlang/otp/commit/e4b56a9f4a511aa9990dd86c16c61439c828df83","tags":["x_refsource_MISC"]},{"url":"https://github.com/erlang/otp/releases/tag/OTP-25.3.2.21","tags":["x_refsource_MISC"]},{"url":"https://github.com/erlang/otp/releases/tag/OTP-26.2.5.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/erlang/otp/releases/tag/OTP-27.3.4","tags":["x_refsource_MISC"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":9.4},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"erlang","affectedVersions":[{"vendor":"erlang","product":"otp","versions":[">= OTP 27.0, < OTP 27.3.4",">= OTP 26.2.1, < OTP 26.2.5.12","< OTP 25.3.2.21"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-08T20:02:52.990837Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-14034","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-erlang-otp-cve-2025-32433","children":[{"from":"CVE-2025-46712","to":"CVE-2025-48040","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/ssh/src/ssh_connection_handler.erl","lib/ssh/src/ssh_transport.erl"],"commits":["https://github.com/erlang/otp/commit/e4b56a9f4a511aa9990dd86c16c61439c828df83","https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a"],"basis":"shared function","functions":["handle_event"]}]}]}}