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… (CVE-2026-59845)
A vulnerability in libssh occurs when ProxyCommand is used and a fork() failure is not properly checked, resulting in a stored process ID of -1. During cleanup, this can cause signals to be sent across the caller's accessible process tree, leading to a local denial of service condition. This flaw affects local users with low privileges and requires user interaction. The issue has been addressed in updated Red Hat Hardened Images RPMs.
AI Analysis
Technical Summary
CVE-2026-59845 is a local vulnerability in libssh where an unchecked fork() failure when using ProxyCommand can cause the process ID to be set to -1. This leads to signals being sent improperly during cleanup across the process tree accessible to the caller, causing a local denial of service. The vulnerability requires low privileges and user interaction, with high attack complexity. Red Hat has released updates to libssh packages in their Hardened Images RPMs to remediate this issue.
Potential Impact
The vulnerability allows a local attacker with low privileges to cause a denial of service by triggering improper signal handling during process cleanup. There is no confidentiality or integrity impact reported. The attack complexity is high and requires user interaction, limiting the ease of exploitation.
Mitigation Recommendations
Red Hat has released updated libssh packages (libssh-0.12.1-4.hum1 and related RPMs) as part of their Hardened Images RPMs to fix this issue. Users of affected Red Hat Hardened Images should apply these updates promptly. No other mitigation or workaround is specified in the vendor advisory.
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… (CVE-2026-59845)
Description
A vulnerability in libssh occurs when ProxyCommand is used and a fork() failure is not properly checked, resulting in a stored process ID of -1. During cleanup, this can cause signals to be sent across the caller's accessible process tree, leading to a local denial of service condition. This flaw affects local users with low privileges and requires user interaction. The issue has been addressed in updated Red Hat Hardened Images RPMs.
CVSS v3.1
Score 5.3medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-59845 is a local vulnerability in libssh where an unchecked fork() failure when using ProxyCommand can cause the process ID to be set to -1. This leads to signals being sent improperly during cleanup across the process tree accessible to the caller, causing a local denial of service. The vulnerability requires low privileges and user interaction, with high attack complexity. Red Hat has released updates to libssh packages in their Hardened Images RPMs to remediate this issue.
Potential Impact
The vulnerability allows a local attacker with low privileges to cause a denial of service by triggering improper signal handling during process cleanup. There is no confidentiality or integrity impact reported. The attack complexity is high and requires user interaction, limiting the ease of exploitation.
Mitigation Recommendations
Red Hat has released updated libssh packages (libssh-0.12.1-4.hum1 and related RPMs) as part of their Hardened Images RPMs to fix this issue. Users of affected Red Hat Hardened Images should apply these updates promptly. No other mitigation or workaround is specified in the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-97fp-2vw9-q5jg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-59845"]
- Ecosystems
- []
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a6150e69c2644c7f8da1e7d
Added to database: 07/22/2026, 23:23:18 UTC
Last enriched: 07/22/2026, 23:37:05 UTC
Last updated: 07/31/2026, 19:24:47 UTC
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.