PT-2025-7168
CVE-2025-26465
·
Published
2025-02-17
·
Updated
2026-12-03
Description by
CVSS 2.0
7.1
HighMetricsAV:N/AC:H/Au:N/C:C/I:C/A:N
Name of the Vulnerable Software and Affected Versions
OpenSSH versions 6.8p1 through 9.9p1
Description
A flaw exists in the OpenSSH client when the
VerifyHostKeyDNS option is enabled (set to either 'yes' or 'ask'). The issue stems from the mishandling of error codes during host key verification. This can allow a remote attacker to perform a machine-in-the-middle attack by impersonating a legitimate server. In some scenarios, the attack may require the attacker to first exhaust the client's memory resources, which increases the complexity of the exploitation. Additionally, on Alpine Linux cloud images, an interaction between OpenSSH and musl libc may allow attackers to bypass authentication by sending an oversized password string, potentially granting unauthenticated shell access.Recommendations
Update OpenSSH to version 1:9.2p1-2+deb12u5 for stable distribution (bookworm).
Update OpenSSH to version 1:8.4p1-5+deb11u4 for Debian 11 bullseye.
As a temporary mitigation, disable the
VerifyHostKeyDNS option. Found an issue in the description? Have something to add? Feel free to write us 👾