OpenSSH 10.4 fixes multiple flaws and adds optional post-quantum signatures
Patch & Detection Intelligence · 11 sources · Updated 5mo ago · First seen Jul 6, 2026

OpenSSH has released version 10.4 with eight security fixes affecting both client and server components, including sftp, scp, sshd, ssh, ssh-agent, and cryptographic verification logic. The update addresses path traversal-style and file redirection issues that could let a malicious server write files outside intended locations, a pre-authentication denial-of-service condition in sshd, a client-side use-after-free bug, and gaps in authentication delay enforcement. The release also replaces the wildcard matcher with an NFA-based implementation to remove exponential worst-case behavior.
The release introduces experimental support for a composite post-quantum signature scheme combining ML-DSA 44 with Ed25519, available only when explicitly enabled and configured. OpenSSH also hardened protocol handling by disconnecting peers that send non-KEX messages during post-authentication rekeying and made seccomp sandbox initialization failures fatal on Linux. Maintainers warned that some changes may break existing deployments, including mixed-case output from sshd -G, stricter transport-layer behavior, and the new sandbox failure handling.
Why it matters
Impact assessment
OpenSSH deployments on servers, jump hosts, developer workstations, CI/CD runners, and administrative endpoints are affected because the fixes span both client and server components: ssh, sshd, sftp, scp, and ssh-agent. The most immediate risk is targeted abuse by a malicious SSH/SFTP/SCP peer, leading to unintended file placement on clients, pre-authentication service disruption on servers with GSSAPIAuthentication enabled, and memory-safety exposure in the SSH client during key re-exchange.
Impact severity is moderate to high depending on configuration. Server-side exposure is narrower for the pre-authentication denial-of-service because it requires GSSAPIAuthentication, which is not enabled by default, but client-side file placement issues in sftp/scp can affect any user connecting to an untrusted or compromised server. No in-the-wild exploitation is cited in the references, but the flaws are concrete and operationally relevant because they affect common administrative workflows and trust boundaries.
Affected populations
- Organizations running OpenSSH prior to 10.4
- Linux/Unix server fleets using sshd
- Administrators and automation using sftp or scp for remote transfers
- Environments using GSSAPI/Kerberos-backed SSH authentication
- Linux systems relying on OpenSSH seccomp sandboxing
Severity and business effect
- Unintended file write/download locations can cause integrity issues on client systems
- Pre-authentication DoS can disrupt SSH access to exposed servers
- Client-side use-after-free introduces crash or potential memory-corruption risk during hostile key re-exchange conditions
- Misapplied forwarding and authentication-delay controls weaken intended hardening policies
- Some 10.4 changes may break automation or legacy interoperability, especially around sshd -G output, stricter rekey behavior, and fatal seccomp initialization failures
Scope and exploitation status
- Scope is broad for asset inventory because OpenSSH is widely deployed
- Practical exploitability is more targeted because several issues require a malicious or compromised SSH peer or specific configuration states
- Known higher-risk configurations include GSSAPIAuthentication-enabled sshd and workflows that perform remote-to-remote scp or command-line sftp downloads from less-trusted hosts
- No published evidence of exploitation in the wild was provided in the source material


