Skip to content
OpenAdvisories
Low · 3.7 CVE-2025-46712 EUVD-2025-14034

Erlang/OTP SSH Has Strict KEX Violations

Published May 8, 2025 · Updated Jan 12, 2026 · Assigned by GitHub_M

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

Affected products

VendorProductAffectedFixed
erlang otp >= OTP 27.0, < OTP 27.3.4, >= OTP 26.2.1, < OTP 26.2.5.12, < OTP 25.3.2.21 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 erlang 1:27.3.4+dfsg-1 —
Debian 13 erlang 1:27.3.4+dfsg-1 —
Debian 12 erlang 1:25.2.3+dfsg-1+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 erlang 1:27.3.4.1+dfsg-1 —
Ubuntu 24.04 LTS erlang 1:25.3.2.8+dfsg-1ubuntu4.4 USN-7656-1
Ubuntu 22.04 LTS erlang 1:24.2.1+dfsg-1ubuntu0.5 USN-7656-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS erlang No fix yet —
Ubuntu Pro 18.04 LTS erlang No fix yet —
Ubuntu Pro 16.04 LTS erlang No fix yet —
Ubuntu Pro 14.04 LTS erlang No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.21 erlang 26.2.5.12-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 erlang 26.2.5.12-1 —
Azure Linux 2 (CBL-Mariner) erlang 25.3.2.21-1 —

Advisories 2

References