CVEfocus › CVE database › CVE-2026-59845

CVE-2026-59845Libssh: libssh: denial of service via unchecked proxycommand fork() failure

CVSS 5.3 MediumEPSS 0.1% (higher than 2% of CVEs)Published 2026-07-21Updated 2026-09-01Assigner: redhat

A flaw was found in libssh. When ProxyCommand is used, an unchecked fork() failure can be stored as process ID -1; during cleanup, signals may then be sent across the caller's accessible process tree, leading to local denial of service.

CWE-390

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

26Fixed

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libsshFixed0.11.3-1ubuntu2.1UBUNTU-CVE-2026-59845
Ubuntu 24.04libsshFixed0.10.6-2ubuntu0.5UBUNTU-CVE-2026-59845
Ubuntu 22.04libsshFixed0.9.6-2ubuntu0.22.04.8UBUNTU-CVE-2026-59845
Debian 14libsshFixed0.12.1-1DEBIAN-CVE-2026-59845
Debian 13libsshFixed0.11.5-0+deb13u1DEBIAN-CVE-2026-59845
Debian 12libsshFixed0.10.6-0+deb12u3DEBIAN-CVE-2026-59845
Red Hat Enterprise Linux 10libsshFixed0:0.12.0-3.el10_2RHSA-2026:55855
Red Hat Enterprise Linux 10libssh-configFixed0:0.12.0-3.el10_2RHSA-2026:55855
Red Hat Enterprise Linux 10libssh-develFixed0:0.12.0-3.el10_2RHSA-2026:55855
Red Hat Enterprise Linux 9libsshFixed0:0.10.4-19.el9_8RHSA-2026:62217
Red Hat Enterprise Linux 9libssh-configFixed0:0.10.4-19.el9_8RHSA-2026:62217
Red Hat Enterprise Linux 9libssh-develFixed0:0.10.4-19.el9_8RHSA-2026:62217
Red Hat Enterprise Linux 8libsshFixed0:0.9.6-17.el8_10RHSA-2026:62218
Red Hat Enterprise Linux 8libssh-configFixed0:0.9.6-17.el8_10RHSA-2026:62218
Red Hat Enterprise Linux 8libssh-develFixed0:0.9.6-17.el8_10RHSA-2026:62218
AlmaLinux 10libssh-configFixed0.12.0-3.el10_2ALSA-2026:55855
AlmaLinux 9libsshFixed0.10.4-19.el9_8ALSA-2026:62217
AlmaLinux 9libssh-configFixed0.10.4-19.el9_8ALSA-2026:62217
AlmaLinux 9libssh-develFixed0.10.4-19.el9_8ALSA-2026:62217
AlmaLinux 8libsshFixed0.9.6-17.el8_10ALSA-2026:62218
AlmaLinux 8libssh-configFixed0.9.6-17.el8_10ALSA-2026:62218
AlmaLinux 8libssh-develFixed0.9.6-17.el8_10ALSA-2026:62218
Rocky Linux 10libsshFixed0:0.12.0-3.el10_2RLSA-2026:55855
Rocky Linux 9libsshFixed0:0.10.4-19.el9_8RLSA-2026:62217
Rocky Linux 8libsshFixed0:0.9.6-17.el8_10RLSA-2026:62218
Alpine Linux 3.24libsshFixed0.12.1-r0ALPINE-CVE-2026-59845

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.

Workaround: To mitigate this issue, avoid using the ProxyCommand feature in libssh client configurations. This prevents the vulnerable code path from being exercised, thereby eliminating the risk of local denial of service due to unchecked fork() failures.

Vendor advisories:

References

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.