CVE-2026-60002 Use after free in OpenSSH
A use-after-free in the OpenSSH client allows attackers to cause denial of service or execute code during key re-exchange.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-60002?
CVE-2026-60002 is a high-severity use after free vulnerability in OpenSSH, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.)
Weakness: CWE-416
Which versions are affected by CVE-2026-60002?
It affects 1 product.
Linux distribution packages (31)
openssh Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-askpass Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-askpass-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-clients Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-clients-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-debugsource Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-keycat Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-keycat-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-keysign Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-keysign-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-server Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-server-debuginfo Red Hat:enterprise_linux_eus:10.0 | All versions | 0:9.9p1-7.el10_0.4 |
openssh-askpass Red Hat:rhel_eus:9.6::appstream | All versions | 0:8.7p1-45.el9_6.4 |
openssh-askpass-debuginfo Red Hat:rhel_eus:9.6::appstream | All versions | 0:8.7p1-45.el9_6.4 |
openssh-debuginfo Red Hat:rhel_eus:9.6::appstream | All versions | 0:8.7p1-45.el9_6.4 |
openssh-debugsource Red Hat:rhel_eus:9.6::appstream | All versions | 0:8.7p1-45.el9_6.4 |
openssh-keycat-debuginfo Red Hat:rhel_eus:9.6::appstream | All versions | 0:8.7p1-45.el9_6.4 |
openssh-server-debuginfo Red Hat:rhel_eus:9.6::appstream | All versions | 0:8.7p1-45.el9_6.4 |
openssh-sk-dummy-debuginfo Red Hat:rhel_eus:9.6::appstream | All versions | 0:8.7p1-45.el9_6.4 |
pam_ssh_agent_auth Red Hat:rhel_eus:9.6::appstream | All versions | 0:0.10.4-5.45.el9_6.4 |
openssh Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
openssh-askpass-debuginfo Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
openssh-clients Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
openssh-debuginfo Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
openssh-debugsource Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
openssh-keycat Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
openssh-keycat-debuginfo Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
openssh-server Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
openssh-server-debuginfo Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
openssh-sk-dummy-debuginfo Red Hat:rhel_eus:9.6::baseos | All versions | 0:8.7p1-45.el9_6.4 |
Products include OpenSSH.
How do I fix CVE-2026-60002?
Upgrade to a fixed version.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2026-60002 being exploited?
There is no known exploitation of CVE-2026-60002 in the wild and no public exploit code.
Other vulnerabilities in OpenSSH
Sources
Also known as ALPINE-CVE-2026-60002, AZL-92054, BELL-CVE-2026-60002, CLSA-2026-1784109248, DEBIAN-CVE-2026-60002, ECHO-f3c1-98db-8b17 and 12 more.