Technical impact
An authenticated SFTP client can trigger a tail-recursive loop in the ssh_sftpd module by sending an SSH_MSG_CHANNEL_EXTENDED_DATA packet with a non‑zero type code and a payload that adheres to the SFTP packet size limit. The handle_data/4 function processes such extended data with an empty pending buffer and recursively calls itself with identical arguments, creating an infinite loop. As a result the ssh_sftpd process never processes other messages, its message queue grows unbounded, and it continuously consumes its CPU share, leading to denial of service on the affected channel. This attack does not grant file access or credentials, and its impact is limited to performance degradation—particularly if many channels are opened, which is possible because the default max_channels setting is unlimited.
Affected Systems
The vulnerability affects Erlang:OTP releases from 17.0 through 29.0.3, 28.5.0.3, and 27.3.4.14, which correspond to the SSH modules 3.0.1 through 6.0.2, 5.5.2.2, and 5.2.11.9 respectively. Any deployment that uses the ssh_sftpd module and permits authenticated SFTP users is vulnerable.
Risk and Exploitability
The CVSS score of 5.3 indicates medium severity, and the EP score of < 1% indicates a very low likelihood of exploitation. The vulnerability is not listed in CISA KEV. Attack requires a network‑based authenticated SFTP session; there is no privilege escalation or data disclosure. The default OTP configuration sets max_channels to infinity, enabling an attacker to open unlimited channels per connection and amplify the CPU and memory impact.
Debian DSA