What’s Vulnerable › Vulnerabilities
CVE-2025-46712: Erlang/OTP SSH Has Strict KEX Violations
- Severity: low (CVSS 3.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-05-08 · updated 2026-06-17
- Weakness: CWE-440
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
- Erlang OTP: from OTP 27.0, < OTP 27.3.4; from OTP 26.2.1, < OTP 26.2.5.12; before OTP 25.3.2.21
References
- https://github.com/erlang/otp/commit/e4b56a9f4a511aa9990dd86c16c61439c828df83
- https://github.com/erlang/otp/releases/tag/OTP-25.3.2.21
- https://github.com/erlang/otp/releases/tag/OTP-26.2.5.12
- https://github.com/erlang/otp/releases/tag/OTP-27.3.4
- https://github.com/erlang/otp/security/advisories/GHSA-934x-xq38-hhqf
Get alerted when CVE-2025-46712 or the next vulnerability affects your stack