Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryendpoint-software-vulnerabilitypatch-regressionpost-quantum-cryptography

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 10.4 fixes multiple flaws and adds optional post-quantum signatures

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
Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event · Jul 6, 2026
  1. Jul 6, 20265mo ago

    OpenSSH 10.4 released with security fixes and new features

    OpenSSH released version 10.4 with eight security fixes affecting components including sftp, scp, sshd, ssh, and ssh-agent, addressing issues such as malicious-server file write and traversal problems, a pre-authentication denial of service, and a client-side use-after-free bug. The release also introduced experimental composite post-quantum signatures using ML-DSA 44 with Ed25519 and protocol hardening changes including stricter post-authentication rekey handling and fatal seccomp sandbox initialization failures on Linux.

    OpenSSH 10.4 arrives with security fixes and a post-quantum signature option - Help Net Security
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

2 linked
OpensshOpenssh

Organizations

1 linked
Openssh

Observables

2 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.