CVE-2026-59844: Libssh: libssh: denial of service via oversized sftp read length

Published Jul 8, 2026
·
Updated

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.

Other sources

A flaw was found in libssh. A remote authenticated client can issue SSHFXPREAD requests with an arbitrarily large length, causing a libssh SFTP server to allocate excessive memory and potentially exhaust it through repeated requests.

MITRE

Affected Software

1 affected component
libssh libssh

Event History

Jul 8, 2026
Data Sourced
via Red Hat·06:22 PM
DescriptionSeverityAffected Software
Jul 21, 2026
CVE Published
via MITRE·11:32 AM
Data Sourced
via MITRE·11:32 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·12:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-59844?

CVE-2026-59844 has a medium severity rating of 6.5.

2

How do I fix CVE-2026-59844?

To fix CVE-2026-59844, update your libssh version to the latest release that addresses this vulnerability.

3

What is the impact of CVE-2026-59844?

CVE-2026-59844 can lead to a denial of service by exhausting server memory via oversized SFTP read length requests.

4

Who is affected by CVE-2026-59844?

Any libssh SFTP server that allows remote authenticated clients to send SSH_FXP_READ requests is affected by CVE-2026-59844.

5

What type of vulnerability is CVE-2026-59844?

CVE-2026-59844 is a denial of service vulnerability specifically related to memory allocation in libssh.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203