CVE-2025-26465
Medium 6.8 CVSS 3.1
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-02-18
- Last modified
- 2026-11-24
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
7.4 %
higher than 94 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Debian | Debian Linux | 11.0 | Affected |
| Debian | Debian Linux | 12.0 | Affected |
| Netapp | Active Iq Unified Manager | all versions listed | Affected |
| Netapp | Ontap | 9 | Affected |
| Openbsd | Openssh | 6.8 | Affected |
| Openbsd | Openssh | 9.9 | Affected |
| Openbsd | Openssh | ≥ 6.9, ≤ 9.8 | Affected |
| Redhat | Enterprise Linux | 9.0 | Affected |
| Redhat | Openshift Container Platform | 4.0 | Affected |
Weakness type
-
CWE-390: Detection of Error Condition Without Action
The product detects a specific error, but takes no actions to handle the error.
References
- https://access.redhat.com/security/cve/CVE-2025-26465
- https://bugzilla.redhat.com/show_bug.cgi?id=2344780
- https://seclists.org/oss-sec/2025/q1/144
- https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-t…
- https://bugzilla.suse.com/show_bug.cgi?id=1237040
- https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig
- https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html
- https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html
- https://security-tracker.debian.org/tracker/CVE-2025-26465
- https://security.netapp.com/advisory/ntap-20250228-0003/
- https://ubuntu.com/security/CVE-2025-26465
- https://www.openssh.com/releasenotes.html#9.9p2
- https://www.openwall.com/lists/oss-security/2025/02/18/1
- https://www.openwall.com/lists/oss-security/2025/02/18/4
- https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/
- https://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-openssh
- https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-openssh
- https://seclists.org/oss-sec/2025/q1/144
- https://access.redhat.com/errata/RHSA-2025:16823
- https://access.redhat.com/errata/RHSA-2025:3837
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.