CVE-2025-46712
Erlang/OTP SSH Has Strict KEX Violations
- State
- Published
- Severity
- 3.7 Low
- Published
- May 8, 2025
- Updated
- Jan 12, 2026
- Reserved
- Apr 28, 2025
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).
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 3.7 Low | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | GitHub_M |
Weaknesses
- CWE-440 Expected Behavior Violation
Affected Products
| Product | Versions |
|---|---|
otperlang |
|
References
- https://github.com/erlang/otp/security/advisories/GHSA-934x-xq38-hhqf
- 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
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.