3.7
CWE
440
Advisory Published
Updated

CVE-2025-46712: Erlang/OTP SSH Has Strict KEX Violations

First published: Thu May 08 2025(Updated: )

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

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Erlang/OTP<OTP-27.3.4<OTP-26.2.5.12<OTP-25.3.2.21

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-46712?

    CVE-2025-46712 is considered to have a high severity due to its impact on the SSH KEX handshake process.

  • How do I fix CVE-2025-46712?

    To fix CVE-2025-46712, update your Erlang/OTP to versions OTP-27.3.4, OTP-26.2.5.12, or OTP-25.3.2.21 or later.

  • What versions of Erlang/OTP are affected by CVE-2025-46712?

    CVE-2025-46712 affects Erlang/OTP versions prior to OTP-27.3.4, OTP-26.2.5.12, and OTP-25.3.2.21.

  • What functionality is compromised by CVE-2025-46712?

    CVE-2025-46712 compromises the enforcement of strict KEX handshake hardening measures in Erlang/OTP SSH.

  • Is there a workaround for CVE-2025-46712?

    There is no publicly documented workaround for CVE-2025-46712; upgrading is the recommended course of action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203