CVE-2026-59844 Libssh: libssh: denial of service via oversized sftp read length
A remote authenticated attacker can cause a libssh SFTP server to exhaust memory by sending oversized read requests, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-59844?
CVE-2026-59844 is a medium-severity denial of service vulnerability in Redhat Enterprise Linux, published on 21 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A flaw was found in libssh. A remote authenticated client can issue SSH_FXP_READ requests with an arbitrarily large length, causing a libssh SFTP server to allocate excessive memory and potentially exhaust it through repeated requests.
Weakness: CWE-789
Which versions are affected by CVE-2026-59844?
It affects 3 products.
Products include Libssh Libssh, Redhat Enterprise Linux, Redhat Hardened Images.
How do I fix CVE-2026-59844?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-59844 being exploited?
There is no known exploitation of CVE-2026-59844 in the wild and no public exploit code.
Other vulnerabilities in Redhat Enterprise Linux
- CVE-2026-59851 Libssh: libssh: authentication bypass via missing gssapi principal check
- CVE-2025-5987 Libssh: invalid return code for chacha20 poly1305 with openssl backend
- CVE-2025-14821 Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows
- CVE-2012-4560 Memory corruption in n/a
- CVE-2012-4562 Integer overflow in n/a
Sources
Also known as AZL-93255, BELL-CVE-2026-59844, CLSA-2026-1791837443, DEBIAN-CVE-2026-59844, ECHO-90ea-f016-0ead, GHSA-qp28-hpg5-j7xc and 1 more.