CVE-2025-26465

medium

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.

References

https://www.securityweek.com/openssh-patches-vulnerabilities-allowing-mitm-dos-attacks/

https://www.bleepingcomputer.com/news/security/new-openssh-flaws-expose-ssh-servers-to-mitm-and-dos-attacks/

https://thehackernews.com/2025/02/new-openssh-flaws-enable-man-in-middle.html

https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-openssh

https://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-openssh

https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/

https://www.openwall.com/lists/oss-security/2025/02/18/4

https://www.openwall.com/lists/oss-security/2025/02/18/1

https://www.openssh.com/releasenotes.html#9.9p2

https://ubuntu.com/security/CVE-2025-26465

https://security.netapp.com/advisory/ntap-20250228-0003/

https://security-tracker.debian.org/tracker/CVE-2025-26465

https://seclists.org/oss-sec/2025/q1/144

https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html

https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html

https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig

https://bugzilla.suse.com/show_bug.cgi?id=1237040

https://bugzilla.redhat.com/show_bug.cgi?id=2344780

https://access.redhat.com/security/cve/CVE-2025-26465

Details

Source: Mitre, NVD

Published: 2025-02-18

Updated: 2025-03-03

Risk Information

CVSS v2

Base Score: 7.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:N

Severity: High

CVSS v3

Base Score: 6.8

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Severity: Medium