Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-46712: CWE-440: Expected Behavior Violation in erlang otp

0
Low
VulnerabilityCVE-2025-46712cvecve-2025-46712cwe-440
Published: Thu May 08 2025 (05/08/2025, 19:26:27 UTC)
Source: CVE
Vendor/Project: erlang
Product: otp

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

AI-Powered Analysis

AILast updated: 01/12/2026, 20:58:27 UTC

Technical Analysis

CVE-2025-46712 identifies a security vulnerability in the Erlang/OTP SSH implementation affecting versions prior to OTP-27.3.4, OTP-26.2.5.12, and OTP-25.3.2.21. The root cause is a failure to enforce strict key exchange (KEX) handshake hardening measures, specifically allowing optional messages to be exchanged during the SSH handshake phase. This behavior violates the expected protocol behavior (CWE-440: Expected Behavior Violation) and enables a Man-in-the-Middle attacker to inject these optional messages into the handshake process. Such injection can potentially disrupt or manipulate the handshake, undermining the integrity of the SSH session establishment. The vulnerability does not directly impact confidentiality or availability but compromises the integrity of the handshake, which could lead to further exploitation or session manipulation. The CVSS 3.1 score is 3.7 (low severity), reflecting that exploitation requires network access, high attack complexity, no privileges, and no user interaction. The vulnerability has been addressed by the Erlang/OTP maintainers in the versions OTP-27.3.4, OTP-26.2.5.12, and OTP-25.3.2.21, which enforce stricter handshake message validation. No public exploits or active exploitation have been reported to date. Erlang/OTP is widely used in telecommunications, messaging systems, and distributed applications, making this vulnerability relevant for environments relying on secure SSH communications within these systems.

Potential Impact

For European organizations, the primary impact of CVE-2025-46712 lies in the potential compromise of SSH handshake integrity, which could allow MitM attackers to interfere with secure communications. While the vulnerability does not directly expose confidential data or cause denial of service, it weakens the trustworthiness of SSH sessions, potentially enabling further attacks such as session hijacking or injection of malicious commands if combined with other vulnerabilities. Organizations in sectors like telecommunications, finance, and critical infrastructure that rely on Erlang/OTP for backend services or network equipment could face increased risk if attackers exploit this flaw. Given the low CVSS score and high attack complexity, the immediate risk is moderate, but the strategic importance of secure SSH in operational environments means that unpatched systems could become targets for sophisticated adversaries. The lack of known exploits reduces immediate urgency but does not eliminate the need for prompt remediation to maintain secure communications and compliance with security standards.

Mitigation Recommendations

European organizations should immediately verify their Erlang/OTP versions and upgrade to OTP-27.3.4, OTP-26.2.5.12, or OTP-25.3.2.21 or later to apply the official patches that enforce strict SSH handshake hardening. Network administrators should audit SSH traffic for anomalies indicative of handshake manipulation, although detection may be challenging due to the subtlety of injected optional messages. Employing network segmentation and strict access controls can limit exposure to potential MitM attackers. Additionally, organizations should ensure that SSH keys and credentials are rotated regularly and consider implementing multi-factor authentication for SSH access where possible. Monitoring threat intelligence feeds for any emerging exploit activity related to this vulnerability is recommended. For critical systems, consider deploying intrusion detection systems (IDS) with custom signatures to detect unusual SSH handshake behavior. Finally, incorporate this vulnerability into vulnerability management and patching workflows to prevent recurrence.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
GitHub_M
Date Reserved
2025-04-28T20:56:09.082Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d9818c4522896dcbd7ea8

Added to database: 5/21/2025, 9:08:40 AM

Last enriched: 1/12/2026, 8:58:27 PM

Last updated: 2/4/2026, 6:13:18 PM

Views: 69

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats