REDHAT-BUG-2498177: Medium severity libssh SFTP server vulnerability
A flaw was found in libssh server-side SFTP request handling. In sftpmakeclientmessage() and the downstream processread() path in src/sftpserver.c, the implementation accepts a client-controlled SSHFXPREAD length without enforcing a reasonable upper bound. The parsed len field later drives memory allocation in the SFTP server read path, so a remote authenticated client can request an excessively large read length and force the server to allocate excessive memory. Repeated requests can exhaust available memory and lead to denial of service.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2498177?
The severity of REDHAT-BUG-2498177 is classified as medium with a risk score of 4.
How do I fix REDHAT-BUG-2498177?
To fix REDHAT-BUG-2498177, ensure that you update to the latest version of libssh where the vulnerability is addressed.
What is the impact of REDHAT-BUG-2498177?
The impact of REDHAT-BUG-2498177 includes potential memory corruption due to unbounded length handling in SFTP requests.
What software is affected by REDHAT-BUG-2498177?
The affected software by REDHAT-BUG-2498177 is the libssh SFTP server.
When was REDHAT-BUG-2498177 published?
REDHAT-BUG-2498177 was published on July 8, 2026.