CVE-2026-59844Libssh: libssh: denial of service via oversized sftp read length
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libssh | Fixed | 0.11.3-1ubuntu2.1 | UBUNTU-CVE-2026-59844 |
| Ubuntu 24.04 | libssh | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | libssh | Not affected vulnerable_code_not_present | ||
| Debian 14 | libssh | Fixed | 0.12.1-1 | DEBIAN-CVE-2026-59844 |
| Debian 13 | libssh | Fixed | 0.11.5-0+deb13u1 | DEBIAN-CVE-2026-59844 |
| Debian 12 | libssh | Fixed | 0.10.6-0+deb12u3 | DEBIAN-CVE-2026-59844 |
| Red Hat Enterprise Linux 10 | libssh | Fixed | 0:0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux 10 | libssh-config | Fixed | 0:0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux 10 | libssh-devel | Fixed | 0:0.12.0-3.el10_2 | RHSA-2026:55855 |
| Red Hat Enterprise Linux 9 | libssh | Fixed | 0:0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux 9 | libssh-config | Fixed | 0:0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux 9 | libssh-devel | Fixed | 0:0.10.4-19.el9_8 | RHSA-2026:62217 |
| Red Hat Enterprise Linux 8 | libssh | Fixed | 0:0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux 8 | libssh-config | Fixed | 0:0.9.6-17.el8_10 | RHSA-2026:62218 |
| Red Hat Enterprise Linux 8 | libssh-devel | Fixed | 0:0.9.6-17.el8_10 | RHSA-2026:62218 |
| AlmaLinux 10 | libssh-config | Fixed | 0.12.0-3.el10_2 | ALSA-2026:55855 |
| AlmaLinux 9 | libssh | Fixed | 0.10.4-19.el9_8 | ALSA-2026:62217 |
| AlmaLinux 9 | libssh-config | Fixed | 0.10.4-19.el9_8 | ALSA-2026:62217 |
| AlmaLinux 9 | libssh-devel | Fixed | 0.10.4-19.el9_8 | ALSA-2026:62217 |
| AlmaLinux 8 | libssh | Fixed | 0.9.6-17.el8_10 | ALSA-2026:62218 |
| AlmaLinux 8 | libssh-config | Fixed | 0.9.6-17.el8_10 | ALSA-2026:62218 |
| AlmaLinux 8 | libssh-devel | Fixed | 0.9.6-17.el8_10 | ALSA-2026:62218 |
| Rocky Linux 10 | libssh | Fixed | 0:0.12.0-3.el10_2 | RLSA-2026:55855 |
| Rocky Linux 9 | libssh | Fixed | 0:0.10.4-19.el9_8 | RLSA-2026:62217 |
| Rocky Linux 8 | libssh | Fixed | 0:0.9.6-17.el8_10 | RLSA-2026:62218 |
| Alpine Linux 3.24 | libssh | Fixed | 0.12.1-r0 | ALPINE-CVE-2026-59844 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Hardened Images
Workaround: No workaround available.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2026:42922 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:55855 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:62217 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2026:62218 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:42922
- https://access.redhat.com/errata/RHSA-2026:55855
- https://access.redhat.com/errata/RHSA-2026:62217
- https://access.redhat.com/errata/RHSA-2026:62218
- https://access.redhat.com/security/cve/CVE-2026-59844
- https://bugzilla.redhat.com/show_bug.cgi?id=2498177
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.