Low severity · published May 8, 2025
CVE-2025-46712
Erlang/OTP SSH Has Strict KEX Violations
3.7
CVSS
0.5%
EPSS
No
On KEV
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).
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 45% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OT
otp · erlang
>= OTP 27.0, < OTP 27.3.4; >= OTP 26.2.1, < OTP 26.2.5.12; < OTP 25.3.2.21 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-46712
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-46712
github.com
https://github.com/erlang/otp/commit/e4b56a9f4a511aa9990dd86c16c61439c828df83
github.com
https://github.com/erlang/otp/releases/tag/OTP-25.3.2.21
github.com
https://github.com/erlang/otp/releases/tag/OTP-26.2.5.12
github.com
https://github.com/erlang/otp/releases/tag/OTP-27.3.4
github.com
https://github.com/erlang/otp/security/advisories/GHSA-934x-xq38-hhqf
More from otp
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
7.5
CVE-2025-30211
KEX init error results with excessive memory usage
7.0
CVE-2025-26618
SSH SFTP packet size not verified properly in Erlang OTP
5.5
CVE-2024-53846
ssl fails to validate incorrect extened key usage
