CVE-2025-26465

published 18 Feb 2025 · updated 5 Nov 2026

Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled

6.8MediumCVSS 6.8EPSS 8%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 8%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenBSDOpenSSH=9.9, >=6.9 <=9.8, =6.8
Red HatDiscovery
Red HatEnterprise Linux
Red HatOpenShift Container Platform
debiandebian_linux=11.0, =12.0
netappontap=9
netappactive_iq_unified_manager
redhatenterprise_linux=9.0
redhatopenshift_container_platform=4.0
>=6.8p1 <=9.9p1

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in OpenSSH, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-26465 severity on Zeptric[![CVE-2025-26465](https://zeptric.io/badge/cve/CVE-2025-26465.svg)](https://zeptric.io/cve/CVE-2025-26465)