U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2025-26465 Detail

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.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 3.x Severity and Vector Strings:

NIST CVSS score matches with CNA score
CNA:  Red Hat, Inc.
Base Score:  6.8 MEDIUM
Vector:  CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://access.redhat.com/security/cve/CVE-2025-26465 Third Party Advisory 
https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-two-vulnerabilities-in-openssh-cve-2025-26465-cve-2025-26466 Third Party Advisory 
https://bugzilla.redhat.com/show_bug.cgi?id=2344780 Issue Tracking  Third Party Advisory 
https://bugzilla.suse.com/show_bug.cgi?id=1237040 Issue Tracking 
https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig Patch 
https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html Third Party Advisory 
https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html Third Party Advisory 
https://seclists.org/oss-sec/2025/q1/144 Mailing List  Third Party Advisory 
https://security-tracker.debian.org/tracker/CVE-2025-26465 Third Party Advisory 
https://security.netapp.com/advisory/ntap-20250228-0003/ Third Party Advisory 
https://ubuntu.com/security/CVE-2025-26465 Third Party Advisory 
https://www.openssh.com/releasenotes.html#9.9p2 Release Notes 
https://www.openwall.com/lists/oss-security/2025/02/18/1 Mailing List  Third Party Advisory 
https://www.openwall.com/lists/oss-security/2025/02/18/4 Mailing List  Third Party Advisory 
https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/ Press/Media Coverage 
https://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-openssh Third Party Advisory 
https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-openssh Mitigation  Third Party Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-390 Detection of Error Condition Without Action Red Hat, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:openbsd:openssh:6.8:p1:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (including)
6.9
Up to (including)
9.8
 cpe:2.3:a:openbsd:openssh:9.9:-:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:openbsd:openssh:9.9:p1:*:*:*:*:*:*
   Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
   Show Matching CPE(s)
 cpe:2.3:a:netapp:ontap:9:*:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
   Show Matching CPE(s)

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

7 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2025-26465
NVD Published Date:
02/18/2025
NVD Last Modified:
03/06/2025
Source:
Red Hat, Inc.