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

Published May 8, 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).

Other sources

Erlang/OTP SSH Has Strict KEX Violations

Microsoft

Affected Software

5 affected componentsFixes available
Erlang Solutions Erlang/OTP<OTP-27.3.4, <OTP-26.2.5.12, <OTP-25.3.2.21
Microsoft cbl2 erlang 25.3.2.20-1<25.3.2.21-1
25.3.2.21-1
Microsoft azl3 erlang 26.2.5.11-1<26.2.5.12-1
26.2.5.12-1
Microsoft azl3 erlang 26.2.5.12-1<26.2.5.12-1
26.2.5.12-1
Microsoft cm2 erlang 25.3.2.21-1<25.3.2.21-1
25.3.2.21-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 25.3.2.21-1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.2.5.12-1
  3. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in OTP-27.3.4
  4. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in OTP-26.2.5.12
  5. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in OTP-25.3.2.21

Event History

May 8, 2025
CVE Published
via MITRE·07:26 PM
Data Sourced
via MITRE·07:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Jul 11, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

What functionality is compromised by CVE-2025-46712?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203