Skip to content

CVE-2025-46712 Erlang/OTP SSH Has Strict KEX Violations

LowCVSS 3.7 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

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).

Upgrade path

10 packages: 9 fixed.

PackageAffectedFixed inStatus
alpine/erlang(Alpine v3.21) < 26.2.5.12-r0 26.2.5.12-r0 Fixed
azure linux erlang(Azure Linux 3.0) < 26.2.5.12-1 26.2.5.12-1 Fixed
cbl-mariner erlang(CBL-Mariner 2.0) < 25.3.2.21-1 25.3.2.21-1 Fixed
debian/erlang(Debian 12) < 1:25.2.3+dfsg-1+deb12u2; = 1:25.2.3+dfsg-1; = 1:25.2.3+dfsg-1+deb12u1 1:25.2.3+dfsg-1+deb12u2 Fixed
debian/erlang(Debian 13) < 1:27.3.4+dfsg-1 1:27.3.4+dfsg-1 Fixed
debian/erlang(Debian 14) < 1:27.3.4+dfsg-1 1:27.3.4+dfsg-1 Fixed
Microsoft cm2 erlang 25.3.2.21-1 < 25.3.2.21-1 25.3.2.21-1 Fixed
ubuntu/erlang(Ubuntu 22.04) < 1:24.2.1+dfsg-1ubuntu0.5 1:24.2.1+dfsg-1ubuntu0.5 Fixed
ubuntu/erlang(Ubuntu 24.04) < 1:25.3.2.8+dfsg-1ubuntu4.4 1:25.3.2.8+dfsg-1ubuntu4.4 Fixed
erlang otp = < OTP 25.3.2.21; = >= OTP 26.2.1, < OTP 26.2.5.12; = >= OTP 27.0, < OTP 27.3.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Microsoft cm2 erlang 25.3.2.21-1 < 25.3.2.21-1 25.3.2.21-1
azure linux erlang(Azure Linux:3.0) < 26.2.5.12-1 26.2.5.12-1
cbl-mariner erlang(CBL-Mariner:2.0) < 25.3.2.21-1 25.3.2.21-1
debian/erlang(Debian:12) < 1:25.2.3+dfsg-1+deb12u2 1:25.2.3+dfsg-1+deb12u2
debian/erlang(Debian:12) = 1:25.2.3+dfsg-1 No fix listed
debian/erlang(Debian:12) = 1:25.2.3+dfsg-1+deb12u1 No fix listed
debian/erlang(Debian:13) < 1:27.3.4+dfsg-1 1:27.3.4+dfsg-1
debian/erlang(Debian:14) < 1:27.3.4+dfsg-1 1:27.3.4+dfsg-1
erlang otp = >= OTP 27.0, < OTP 27.3.4 No fix listed
erlang otp = >= OTP 26.2.1, < OTP 26.2.5.12 No fix listed
erlang otp = < OTP 25.3.2.21 No fix listed
ubuntu/erlang(Ubuntu:22.04) < 1:24.2.1+dfsg-1ubuntu0.5 1:24.2.1+dfsg-1ubuntu0.5
alpine/erlang(Alpine:v3.21) < 26.2.5.12-r0 26.2.5.12-r0
ubuntu/erlang(Ubuntu:24.04) < 1:25.3.2.8+dfsg-1ubuntu4.4 1:25.3.2.8+dfsg-1ubuntu4.4

References