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).
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-440"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46712.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "OTP27.0"
},
{
"fixed": "OTP27.3.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "OTP26.2.1"
},
{
"fixed": "OTP26.2.5.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "OTP25.3.2.21"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "e4b56a9f4a511aa9990dd86c16c61439c828df83"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "OTP-25.3.2.21",
"range": [
{
"fixed": "52199ed7e79646b73bacc47c92967ce9970b2373"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "OTP-26.2.5.12",
"range": [
{
"fixed": "7335f79eeaa0094c274dab2aa2ced9e138027c75"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "OTP-27.3.4",
"range": [
{
"fixed": "c388a2d1b3f9918652276d4798692dd4d8ef97fc"
}
],
"source": "REFERENCES_TAG"
}
]
}