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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-08 · Modified: 2026-01-12
- Aliases: UBUNTU-CVE-2025-46712, DEBIAN-CVE-2025-46712, ALPINE-CVE-2025-46712
- Record: https://cvemate.com/vulnerability/CVE-2025-46712 · JSON: https://cvemate.com/vulnerability/CVE-2025-46712/json

## Description

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

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.563%, percentile 48.27%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine erlang (Alpine Linux): \< 26.2.5.12-r0
- debian erlang (Debian): \< 1:25.2.3+dfsg-1+deb12u2 \| \< 1:27.3.4+dfsg-1
- ubuntu erlang (Ubuntu): All versions (No fix recorded) \| \< 1:24.2.1+dfsg-1ubuntu0.5 \| \< 1:25.3.2.8+dfsg-1ubuntu4.4 \| \< 1:27.3.4.1+dfsg-1
- erlang otp: ≥ OTP 27.0, \< OTP 27.3.4 (No fix recorded) \| ≥ OTP 26.2.1, \< OTP 26.2.5.12 (No fix recorded) \| \< OTP 25.3.2.21

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-934x-xq38-hhqf>
- <https://github.com/erlang/otp/commit/e4b56a9f4a511aa9990dd86c16c61439c828df83>
- <https://github.com/erlang/otp/releases/tag/OTP-25.3.2.21>
- <https://github.com/erlang/otp/releases/tag/OTP-26.2.5.12>
- <https://github.com/erlang/otp/releases/tag/OTP-27.3.4>
- <https://ubuntu.com/security/CVE-2025-46712>
- <https://www.cve.org/CVERecord?id=CVE-2025-46712>
- <https://ubuntu.com/security/notices/USN-7656-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-46712>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46712>
- <https://security.alpinelinux.org/vuln/CVE-2025-46712>

---

Data as of 2026-12-05T06:33:19.350Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
