Introduction
The Fedora Project has released critical security updates for OpenSSH in Fedora 44 addressing two distinct vulnerabilities identified as CVE-2026-59996 and CVE-2026-60002. For security practitioners managing Linux infrastructure, these updates are non-negotiable. While one vulnerability poses a clear risk to data integrity during file transfers, the other presents a more subtle, yet dangerous, memory corruption risk that could lead to remote code execution or denial of service.
Given OpenSSH's ubiquitous role in server administration, any vulnerability affecting core functionality like SCP or key exchange demands immediate attention. Defenders must verify their patch status immediately to prevent potential data leakage or system compromise.
Technical Analysis
Affected Products:
- Platform: Fedora 44
- Component: OpenSSH
CVE-2026-59996: Remote Copy Misplacement (Critical)
- Mechanism: This vulnerability resides in the
scputility when it performs a "remote-to-remote" copy operation. In this scenario, data flows from a source host to a destination host, routed through the local machine initiating the command (e.g.,scp user@hostA:/file user@hostB:/file). The flaw involves how the localscpclient handles globbing results (wildcards) returned by the source server. Specifically, a malicious or misconfigured source returning a path component of..can cause the client to misplace the file in the parent directory of the intended target on the destination server. - Impact: Data Integrity violation. Files could be written to unauthorized directories, potentially overwriting system configuration files or placing sensitive data in locations accessible by unauthorized users.
- Exploitation Status: Proof-of-concept logic is understood given the nature of the globbing flaw. While complex to weaponize for significant gain, it breaks the trust model of file transfers.
CVE-2026-60002: Use-After-Free in Hostkey (High)
- Mechanism: A use-after-free (UAF) vulnerability exists in the handling of the cached hostkey during the key re-exchange process. SSH key re-exchange occurs periodically (e.g., after 1GB of data transfer or 1 hour of connection time) to refresh session keys. The UAF condition occurs in the
sshbufbuffer management logic during this exchange. - Impact: Memory corruption. In the worst case, a crafted attack could lead to remote code execution (RCE) with the privileges of the SSH daemon (often root). At a minimum, this results in a denial of service (crash of the
sshddaemon). - Exploitation Status: Theoretical but high-risk. Memory corruption in a core network daemon like
sshdis a primary target for attackers.
Detection & Response
To defend against these vulnerabilities, we need to monitor for suspicious scp usage patterns (CVE-2026-59996) and potential daemon crashes indicative of memory corruption exploits (CVE-2026-60002).
Sigma Rules
---
title: Potential SCP Remote-to-Remote Copy Operation
id: 8a4d2e10-1b9c-4f3d-9c5a-6d7e8f9a0b1c
status: experimental
description: Detects scp command lines indicating a remote-to-remote copy (host-to-host via local), which is the affected vector for CVE-2026-59996. Requires logs with command-line logging enabled.
references:
- https://linuxsecurity.com/advisories/fedora/fedora-44-openssh-2026-c9d8542bb3
author: Security Arsenal
date: 2026/04/20
tags:
- attack.initial_access
- attack.execution
- cve-2026-59996
logsource:
category: process_creation
product: linux
detection:
selection:
Image|endswith: '/scp'
CommandLine|contains: '@'
CommandLine|re: '.*@.*:.*@.*:.*'
condition: selection
falsepositives:
- Legitimate administrative file transfers between servers
level: medium
---
title: OpenSSH Daemon Crash (SIGSEGV)
id: 9b5e3f21-2c0d-5e4e-0d6b-7e8f0a1b2c3d
status: experimental
description: Detects segmentation faults in the sshd daemon, which may indicate exploitation attempts against CVE-2026-60002 (Use-After-Free) or other memory corruption bugs.
references:
- https://linuxsecurity.com/advisories/fedora/fedora-44-openssh-2026-c9d8542bb3
author: Security Arsenal
date: 2026/04/20
tags:
- attack.impact
- attack.denial_of_service
- cve-2026-60002
logsource:
product: linux
service: syslog
detection:
selection:
process_name: 'sshd'
message|contains:
- 'segfault'
- 'signal 11'
- 'core dumped'
condition: selection
falsepositives:
- Legitimate service crashes due to hardware failure or memory exhaustion
level: high
**KQL (Microsoft Sentinel / Defender)**
// Hunt for remote-to-remote SCP usage (CVE-2026-59996)
// Requires Linux Syslog or CEF data ingested into Syslog or CommonSecurityLog
Syslog
| where ProcessName contains "scp"
| where SyslogMessage has "@"
| where SyslogMessage matches regex @".*@.*:.*@.*:.*"
| project TimeGenerated, Computer, ProcessName, SyslogMessage
| extend Reason = "Potential SCP Remote-to-Remote Copy detected"
;
// Hunt for SSHD Crashes (CVE-2026-60002)
Syslog
| where ProcessName == "sshd"
| where SyslogMessage has_any ("segfault", "signal 11", "core dumped")
| project TimeGenerated, Computer, Hostname, SyslogMessage
| extend Reason = "SSHD Daemon Crash detected - Potential Exploit"
**Velociraptor VQL**
-- Hunt for SCP processes using remote-to-remote syntax
SELECT Pid, Name, CommandLine, Username
FROM pslist()
WHERE Name = 'scp'
AND CommandLine =~ '@.*:.*@.*:'
**Remediation Script (Bash)**
#!/bin/bash
# Remediation script for Fedora 44 OpenSSH CVEs
# Checks version and applies updates
echo "Checking Fedora Version and OpenSSH Status..."
# Check if we are on Fedora 44
if [[ -f /etc/fedora-release ]]; then
FEDORA_VERSION=$(rpm -E %fedora)
if [[ "$FEDORA_VERSION" == "44" ]]; then
echo "Detected Fedora 44. Checking OpenSSH version..."
# Get current OpenSSH version
CURRENT_VERSION=$(rpm -q openssh --queryformat '%{VERSION}-%{RELEASE}')
echo "Current OpenSSH Version: $CURRENT_VERSION"
# Apply updates
echo "Applying available security updates..."
dnf update -y openssh openssh-server openssh-clients
# Verify update
UPDATED_VERSION=$(rpm -q openssh --queryformat '%{VERSION}-%{RELEASE}')
if [[ "$CURRENT_VERSION" != "$UPDATED_VERSION" ]]; then
echo "SUCCESS: OpenSSH updated from $CURRENT_VERSION to $UPDATED_VERSION"
echo "It is recommended to restart the sshd service: systemctl restart sshd"
else
echo "INFO: System appears to be up to date or no update available yet."
echo "Please verify manually against the Fedora 44 advisory."
fi
else
echo "This script is targeted for Fedora 44. Current version: $FEDORA_VERSION"
fi
else
echo "Fedora release file not found. This is not a Fedora system."
fi
Remediation
- Patch Immediately: Apply the Fedora 44 security updates released by the vendor. This is the only complete mitigation for CVE-2026-59996 and CVE-2026-60002.
- Action: Run
sudo dnf update openssh*
- Action: Run
- Restart Services: After patching, restart the SSH daemon to ensure the new binary is loaded.
- Action:
sudo systemctl restart sshd
- Action:
- Audit SCP Usage: Review logs for historical usage of remote-to-remote
scpcommands. While patching fixes the code, verifying that no data was accidentally misplaced prior to the patch is a prudent forensic step. - Verify Configuration: Ensure
syslogor your audit daemon is capturing command-line arguments for process creation to assist in future detection of similar anomalies.
Official Advisory: Fedora 44 OpenSSH Advisory
Related Resources
Security Arsenal Penetration Testing Services AlertMonitor Platform Book a SOC Assessment vulnerability-management Intel Hub
Is your security operations ready?
Get a free SOC assessment or see how AlertMonitor cuts through alert noise with automated triage.