Skip to content
Threat Brief

← All advisories

CVE-2025-26465

Medium 6.8No known exploitationFix available

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

Record last updated

CVSS score

6.8

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

10%

Higher than 96% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-390

Patching and mitigation

Patch status
Fix available (source: NVD (reference tagged Patch))
Fix documented (source date)
Mitigation
This issue can be mitigated by disabling VerifyHostKeyDNS by setting that option to 'no' in an SSH client configuration file (such as /etc/ssh/ssh_config, ~/.ssh/config, or one of the files in the /etc/ssh/ssh_config.d/ directory). This is the default configuration in Red Hat Enterprise Linux. For configurations that require VerifyHostKeyDNS to be enabled (set to either 'yes' or 'ask'), mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Source (opens in a new tab)
Vendor guidance
access.redhat.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
Red HatRed Hat OpenShift Container Platform 4Not documentedNot documentedCVE Program
debiandebian_linux11.0Not documentedNIST NVD
debiandebian_linux12.0Not documentedNIST NVD
netappactive_iq_unified_managerNot documentedNot documentedNIST NVD
netappontap9Not documentedNIST NVD
openbsdopensshfrom 6.9 up to and including 9.8Not documentedNIST NVD
openbsdopenssh6.8Not documentedNIST NVD
openbsdopenssh9.9Not documentedNIST NVD
openbsdopenssh9.9Not documentedNIST NVD
redhatenterprise_linux9.0Not documentedNIST NVD
redhatopenshift_container_platform4.0Not documentedNIST NVD
Red HatRed Hat Discovery 1.14 (unaffected)1.14.3-1748529279Not documentedCVE Program
Red HatRed Hat Enterprise Linux 10 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 6 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 7 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 8 (unaffected)0:8.0p1-26.el8_10Not documentedCVE Program
Red HatRed Hat Enterprise Linux 8 (unaffected)0:8.0p1-26.el8_10Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:8.7p1-45.el9Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (unaffected)0:8.7p1-45.el9Not documentedCVE Program
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support (unaffected)0:8.7p1-38.el9_4.5Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by NVD (reference tagged Patch)

    Source: NVD (reference tagged Patch) (opens in a new tab)

Vendor guidance and references