Infinite loop in libssh - CVE-2026-59843
Published: July 27, 2026
libssh
Detailed vulnerability description
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to an infinite loop in channel_write_common() when processing an SSH_MSG_CHANNEL_OPEN request with a maximum packet length of zero. A remote user can send a specially crafted channel open request to cause a denial of service.
Repeating the attack over multiple connections can exhaust CPU resources of the server.