CVE-2025-26465: Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled
CVE-2025-26465 affects 69 listed versions of OpenSSH, Western Digital My Cloud Home in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
OpenSSH
59 of 193 listed versions are affected. No fixed release is named. The newest release, 10.6 P2, is not affected.
9.9 P1 9.9 9.8 9.7 P1 9.7 9.6 P1 9.6 9.5 P1 9.4 P1 9.3 P2 9.3 P1 9.3 9.2 P1 9.1 P1 9.1 9.0 P1 8.9 P1 8.9 8.8 P1 8.8 8.7 P1 8.7 8.6 P1 8.6 8.5 P1 8.5 8.4 P1 8.4 8.3 P1 8.3 8.2 P1 8.2 8.1 P1 8.1 8.0 P1 7.9 P1 7.9 7.8 P1 7.8 7.7 P1 7.7 7.6 P1 7.6 7.5 P1 7.4 P1 7.4 7.3 P1 7.3 7.2 P2 7.2 P1 7.2 7.1 P2 7.1 P1 7.1 7.0 P1 7.0 6.9 P1 6.9 6.8 P1
Western Digital My Cloud Home
10 of 11 listed versions are affected. Fixed in 9.9.0-102. The newest release, 9.9.0-102, is not affected.
9.8.0-102 9.7.0-104 9.5.1-104 9.4.0-191 8.13.1-102 8.12.0-178 8.11.0-113 8.10.0-117 8.5.1-102 7.16-220
What it is
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N (NVD)
Published by Red Hat on 18 February 2025. Last changed 24 November 2026.
Sources
Check one version you run: look CVE-2025-26465 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.