CVE-2025-26465
mediumA vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled.
Vendor / product: Openbsd — openssh
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
6.8
6.8 (CVSS v3.1)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-02-18 19:15
Modified: 2026-11-05 16:17
NVD status: Modified
Last synced 1 week ago
Verified against the source API 2026-11-05 16:48 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
openbsd / openssh ≥6.9 ≤9.8, 6.8, 9.9
netapp / active_iq_unified_manager all versions
netapp / ontap 9
redhat / openshift_container_platform 4.0
debian / debian_linux 11.0, 12.0
redhat / enterprise_linux 9.0
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Patch / mitigation: https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig
References
- https://access.redhat.com/errata/RHSA-2025:16823 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:3837 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:6993 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:8385 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2025-26465 secalert@redhat.com
- https://access.redhat.com/solutions/7109879 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2344780 secalert@redhat.com
- https://seclists.org/oss-sec/2025/q1/144 secalert@redhat.com
- http://seclists.org/fulldisclosure/2025/Feb/18 af854a3a-2127-422b-91ae-364da2661108
- http://seclists.org/fulldisclosure/2025/May/7 af854a3a-2127-422b-91ae-364da2661108
- http://seclists.org/fulldisclosure/2025/May/8 af854a3a-2127-422b-91ae-364da2661108
- https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-tw... af854a3a-2127-422b-91ae-364da2661108
- https://bugzilla.suse.com/show_bug.cgi?id=1237040 af854a3a-2127-422b-91ae-364da2661108
- https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig af854a3a-2127-422b-91ae-364da2661108
- https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html af854a3a-2127-422b-91ae-364da2661108
- https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html af854a3a-2127-422b-91ae-364da2661108
- https://security-tracker.debian.org/tracker/CVE-2025-26465 af854a3a-2127-422b-91ae-364da2661108
- https://security.netapp.com/advisory/ntap-20250228-0003/ af854a3a-2127-422b-91ae-364da2661108
- https://ubuntu.com/security/CVE-2025-26465 af854a3a-2127-422b-91ae-364da2661108
- https://www.openssh.com/releasenotes.html#9.9p2 af854a3a-2127-422b-91ae-364da2661108
- https://www.openwall.com/lists/oss-security/2025/02/18/1 af854a3a-2127-422b-91ae-364da2661108
- https://www.openwall.com/lists/oss-security/2025/02/18/4 af854a3a-2127-422b-91ae-364da2661108
- https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/ af854a3a-2127-422b-91ae-364da2661108
- https://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-openssh af854a3a-2127-422b-91ae-364da2661108
- https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-openssh af854a3a-2127-422b-91ae-364da2661108
Data sources
NVD CVE API 2.0 — fetched 2026-11-05 16:48 UTC · record ↗

