CVE-2025-46712
JSON

3.7low

Erlang/OTP SSH Has Strict KEX Violations

Severity
3.7low CVSS:3.1 by GitHub_M
Exploit likelihood
0.56% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Affected

Product or packageVersionsReported by
erlang otp>= OTP 27.0, < OTP 27.3.4, >= OTP 26.2.1, < OTP 26.2.5.12, < OTP 25.3.2.21CVE List

Classification

CWE-440

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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

NVD (es)

Erlang/OTP es un conjunto de librerías para el lenguaje de programación Erlang. En versiones anteriores a OTP-27.3.4 (para OTP-27), OTP-26.2.5.12 (para OTP-26) y OTP-25.3.2.21 (para OTP-25), Erlang/OTP SSH no aplica medidas estrictas de reforzamiento del protocolo de enlace KEX al permitir el intercambio de mensajes opcionales. Esto permite que un atacante intermediario inyecte estos mensajes en una conexión durante el protocolo de enlace. Este problema se ha corregido en las versiones OTP-27.3.4 (para OTP-27), OTP-26.2.5.12 (para OTP-26) y OTP-25.3.2.21 (para OTP-25).

References

Sources

SourceRecordLicence
CVE ListCVE-2025-46712 changed 2026-01-12CVE Terms of Use
NVDCVE-2025-46712 changed 2026-06-17Public domain