Critical RCE Vulnerability Discovered in Erlang/OTP SSH — CVE-2025–32433
The Erlang/OTP SSH daemon mishandled certain pre-authentication SSH messages without adequate validation, allowing an attacker to send crafted protocol messages and execute arbitrary commands with the daemon's privileges, typically root. This could lead to full system compromise, data exfiltration, and ransomware deployment.
Published on osintteam.blog
A critical remote code execution (RCE) vulnerability has recently been discovered in Erlang/OTP SSH servers. Identified as CVE-2025–32433, this flaw arises from improper handling of pre-authentication SSH messages, allowing attackers to execute arbitrary code without authentication.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Erlang/OTP SSH daemon failed to properly validate pre-authentication SSH protocol messages, allowing crafted messages to trigger command execution.
Impact
An attacker could execute arbitrary commands as root, leading to full system compromise, data exfiltration, and ransomware deployment.
What the attacker needed
Network access to the SSH service; no authentication required
The fix
The vulnerability was fixed in OTP-27.3.3, OTP-[redacted], and OTP-[redacted] or later; organisations should upgrade to these versions.
How it was found
- The attacker attempts to establish an SSH connection without authentication.
- A pre-authentication SSH message is crafted and transmitted.
- If the vulnerability is exploited, execute arbitrary commands as root.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
SSH is a common way to log into remote computers securely. Before you log in, the server and client exchange some setup messages. In this bug, the server did not check those early messages properly, so an attacker could sneak in commands that the server would run as the most powerful user (root), without ever logging in.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.