CVE-2026-60002: OpenSSH: ssh in OpenSSH before 10.4 can have a use-after-free when a server changes its host key du…

Critical 9.4 EPSS 0.3% OpenSSH

ssh in OpenSSH before 10.4 can have a use-after-free when a server changes its host key during a key re-exchange. (This outcome occurs only on the client side.)

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run OpenSSH and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. sudo systemctl restart ssh (Debian/Ubuntu) or sshd (RHEL/SUSE/Fedora/Arch/Amazon); Alpine: rc-service sshd restart; FreeBSD: service sshd restart

Affected and fixed versions

Affected:

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
sudo apt update
sudo apt install --only-upgrade openssh-server openssh-client
Ubuntu
sudo apt update
sudo apt install --only-upgrade openssh-server openssh-client
RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade --refresh openssh-server openssh
Fedora
sudo dnf upgrade --refresh openssh-server openssh
SUSE / openSUSE
sudo zypper refresh
sudo zypper update openssh openssh-server
Amazon Linux
sudo dnf upgrade --releasever=latest openssh-server openssh
Arch Linux
sudo pacman -Syu
Alpine
apk update && apk upgrade openssh openssh-server
FreeBSD
pkg update && pkg upgrade openssh-portable (port; the base-system sshd is patched with freebsd-update)

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Fix status in Linux distributions

ReleasePackageStatusFixed version / advisory
Debian 12opensshnot fixed yet
Debian 13opensshnot fixed yet
Debian testingopensshfixed1:10.4p1-1
Red Hat Enterprise Linux 9openssh-0:9.9p1-9.el9_8fixedRHSA-2026:47756
Red Hat Enterprise Linux 10openssh-0:9.9p1-25.el10_2fixedRHSA-2026:47757

From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.

Sources

Page generated automatically from official sources on 2026-11-03 18:05 UTC. Always confirm with your vendor's advisory.