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

Read the record on cve.org

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

CVSSScoreVectorSource
3.13.7 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NGitHub_M

Weaknesses

  • CWE-440 Expected Behavior Violation

Affected Products

ProductVersions
otperlang
  • >= OTP 27.0, < OTP 27.3.4Affected
  • >= OTP 26.2.1, < OTP 26.2.5.12Affected
  • < OTP 25.3.2.21Affected

References

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.