Skip to content
OpenAdvisories

Description

A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. A machine-in-the-middle attack can be performed by a malicious machine impersonating a legit server. This issue occurs due to how OpenSSH mishandles error codes in specific conditions when verifying the host key. For an attack to be considered successful, the attacker needs to manage to exhaust the client's memory resource first, turning the attack complexity high.

Affected products

VendorProductAffectedFixed
— OpenSSH 6.8p1 – ≤ 9.9p1 —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —
Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support — —
Red Hat Red Hat Discovery 1.14 — —
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Enterprise Linux 6 — —
Red Hat Red Hat Enterprise Linux 7 — —
Red Hat Red Hat OpenShift Container Platform 4 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:9.9p2-1 —
Debian 13 openssh 1:9.9p2-1 —
Debian 12 openssh 1:9.2p1-2+deb12u5 DSA-5868-1
Debian 11 openssh 1:8.4p1-5+deb11u4 DLA-4057-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openssh-ssh1 No fix yet —
Ubuntu 26.04 LTS openssh-ssh1 No fix yet —
Ubuntu 25.10 openssh-ssh1 No fix yet —
Ubuntu 24.04 LTS openssh 1:9.6p1-3ubuntu13.8 USN-7270-1
Ubuntu 24.04 LTS openssh-ssh1 No fix yet —
Ubuntu 22.04 LTS openssh 1:8.9p1-3ubuntu0.11 USN-7270-1
Ubuntu 22.04 LTS openssh-ssh1 No fix yet —
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS openssh 1:8.2p1-4ubuntu0.12 USN-7270-1
Ubuntu 20.04 LTS openssh-ssh1 No fix yet —
Ubuntu 18.04 LTS openssh-ssh1 No fix yet —
Ubuntu Pro FIPS 20.04 LTS openssh No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssh No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-updates 24.04 LTS openssh 1:9.6p1-3ubuntu13.12+Fips1 —
Ubuntu Pro FIPS-updates 22.04 LTS openssh 1:8.9p1-3ubuntu0.11+Fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS openssh 1:8.2p1-4ubuntu0.fips.0.12 —
Ubuntu Pro FIPS-updates 18.04 LTS openssh 1:7.9p1-10~ubuntu18.04.fips.0.10 —
Ubuntu Pro FIPS-updates 16.04 LTS openssh 1:7.2p2-4ubuntu2.fips.2.10.7 —
Ubuntu Pro FIPS-preview 22.04 LTS openssh No fix yet —
Ubuntu Pro 18.04 LTS openssh 1:7.6p1-4ubuntu0.7+esm4 USN-7270-2
Ubuntu Pro 16.04 LTS openssh 1:7.2p2-4ubuntu2.10+esm7 USN-7270-2
ReleasePackageFixed inAdvisory
RHEL 9 openssh +4 8.7p1-45.el9 RHSA-2025:6993
RHEL 9 pam_ssh_agent_auth 0.10.4-5.45.el9 RHSA-2025:6993
RHEL 8 openssh +6 8.0p1-26.el8_10 RHSA-2025:16823
RHEL 8 pam_ssh_agent_auth 0.10.3-7.26.el8_10 RHSA-2025:16823
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS openssh +4 8.7p1-38.el9_4.5 RHSA-2025:3837
RHEL 9.4 EUS pam_ssh_agent_auth 0.10.4-5.38.el9_4.5 RHSA-2025:3837

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 openssh +4 8.7p1-45.el9 ALSA-2025:6993
AlmaLinux 9 pam_ssh_agent_auth 0.10.4-5.45.el9 ALSA-2025:6993
AlmaLinux 8 openssh +6 8.0p1-26.el8_10 ALSA-2025:16823
AlmaLinux 8 pam_ssh_agent_auth 0.10.3-7.26.el8_10 ALSA-2025:16823

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 openssh 8.7p1-45.el9 RLSA-2025:6993
Rocky Linux 8 openssh 8.0p1-26.el8_10 RLSA-2025:16823
ReleasePackageFixed inAdvisory
SLES 15 SP6 openssh 9.6p1-150600.6.15.2 SUSE-SU-2025:0585-1
SLES 15 SP6 openssh-askpass-gnome 9.6p1-150600.6.15.1 SUSE-SU-2025:0585-1
SLES 15 SP5 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLES 15 SP4 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLES 15 SP3 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLES 12 SP5 openssh +1 7.2p2-81.26.1 SUSE-SU-2025:0659-1
SLES 12 SP5 openssh8.4 8.4p1-8.16.1 SUSE-SU-2025:0744-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLES for SAP 15 SP4 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLES for SAP 15 SP3 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLE Micro 6.1 openssh 9.6p1-slfo.1.1_2.1 SUSE-SU-2025:20226-1
SLE Micro 6.0 openssh 9.6p1-3.1 SUSE-SU-2025:20160-1
SLE Micro 5.5 openssh 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLE Micro 5.4 openssh 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLE Micro 5.3 openssh 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLE Micro 5.2 openssh 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLE Micro 5.1 openssh 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLE HPC 15 SP5 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLE HPC 15 SP4 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SLE HPC 15 SP3 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SUSE Manager Server 4.3 openssh 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SUSE Manager Proxy 4.3 openssh 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
SUSE Enterprise Storage 7.1 openssh +1 8.4p1-150300.3.42.1 SUSE-SU-2025:0605-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssh 9.9p2-1.1 openSUSE-SU-2025:14820-1
openSUSE Leap 15.6 openssh 9.6p1-150600.6.15.2 SUSE-SU-2025:0585-1
openSUSE Leap 15.6 openssh-askpass-gnome 9.6p1-150600.6.15.1 SUSE-SU-2025:0585-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssh 9.9_p2-r0 —
Alpine v3.23 openssh 9.9_p2-r0 —
Alpine v3.22 openssh 9.9_p2-r0 —
Alpine v3.21 openssh 9.9_p2-r0 —
Alpine v3.20 openssh 9.7_p1-r5 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssh 9.6_p1-r2 —
Alpine v3.18 openssh 9.3_p2-r3 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssh +3 8.7p1-8.amzn2023.0.14 ALAS2023-2025-865
Amazon Linux 2023 pam_ssh_agent_auth 0.10.4-4.8.amzn2023.0.14 ALAS2023-2025-865
Amazon Linux 2 openssh +7 7.4p1-22.amzn2.0.9 ALAS2-2025-2769
Amazon Linux 2 pam_ssh_agent_auth 0.10.3-2.22.amzn2.0.9 ALAS2-2025-2769

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 openssh 9.8p1-3 —
Azure Linux 2 (CBL-Mariner) openssh 8.9p1-7 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 openssh +4 8.7p1-45.0.2.el9 ELSA-2025-6993
Oracle Linux 9 pam_ssh_agent_auth 0.10.4-5.45.0.2.el9 ELSA-2025-6993
Oracle Linux 8 openssh +6 8.0p1-26.0.1.el8_10 ELSA-2025-16823
Oracle Linux 8 pam_ssh_agent_auth 0.10.3-7.26.0.1.el8_10 ELSA-2025-16823

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 35

References