Bug 2498178 (CVE-2026-59845) - CVE-2026-59845 libssh: libssh: denial of service via unchecked ProxyCommand fork() failure
Summary: CVE-2026-59845 libssh: libssh: denial of service via unchecked ProxyCommand f...
Keywords:
Status: NEW
Alias: CVE-2026-59845
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2503668
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-08 18:22 UTC by OSIDB Bzimport
Modified: 2026-09-08 11:55 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:63299 0 None None None 2026-09-03 17:37:30 UTC
Red Hat Product Errata RHBA-2026:65388 0 None None None 2026-09-08 11:55:04 UTC
Red Hat Product Errata RHSA-2026:55855 0 None None None 2026-08-17 20:53:27 UTC
Red Hat Product Errata RHSA-2026:62217 0 None None None 2026-09-01 17:53:31 UTC
Red Hat Product Errata RHSA-2026:62218 0 None None None 2026-09-01 18:33:14 UTC

Description OSIDB Bzimport 2026-07-08 18:22:43 UTC
A flaw was found in libssh client-side ProxyCommand handling. In ssh_socket_connect_proxycommand() in src/socket.c, the return value of fork() was not checked before being stored as the proxy child PID. If fork() fails, the value -1 can be retained in state and later used during cleanup, causing signals to be sent across the caller's accessible process tree. In deployments that use ProxyCommand, this can lead to local denial of service.

Comment 4 errata-xmlrpc 2026-08-17 20:53:26 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:55855 https://access.redhat.com/errata/RHSA-2026:55855

Comment 5 errata-xmlrpc 2026-09-01 17:53:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:62217 https://access.redhat.com/errata/RHSA-2026:62217

Comment 6 errata-xmlrpc 2026-09-01 18:33:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:62218 https://access.redhat.com/errata/RHSA-2026:62218


Note You need to log in before you can comment on or make changes to this bug.