Ubuntu CVE Tracker
UBUNTU-CVE-2025-46712
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | erlang | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | erlang | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | erlang | All versions, no fix listed |
| Ubuntu:Pro:20.04:LTS | erlang | All versions, no fix listed |
| Ubuntu:22.04:LTS | erlang | All versions before 1:24.2.1+dfsg-1ubuntu0.5 (fixed in 1:24.2.1+dfsg-1ubuntu0.5) |
| Ubuntu:24.04:LTS | erlang | All versions before 1:25.3.2.8+dfsg-1ubuntu4.4 (fixed in 1:25.3.2.8+dfsg-1ubuntu4.4) |
| Ubuntu:25.10 | erlang | All versions before 1:27.3.4.1+dfsg-1 (fixed in 1:27.3.4.1+dfsg-1) |
References
- https://ubuntu.com/security/CVE-2025-46712
- https://www.cve.org/CVERecord?id=CVE-2025-46712
- https://github.com/erlang/otp/security/advisories/GHSA-934x-xq38-hhqf
- 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/notices/USN-7656-1