Name | CVE-2025-26465 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4057-1, DSA-5868-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
openssh (PTS) | bullseye | 1:8.4p1-5+deb11u3 | vulnerable |
bullseye (security) | 1:8.4p1-5+deb11u4 | fixed | |
bookworm | 1:9.2p1-2+deb12u4 | vulnerable | |
bookworm (security) | 1:9.2p1-2+deb12u5 | fixed | |
trixie | 1:9.9p1-3 | vulnerable | |
sid | 1:9.9p2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
openssh | source | bullseye | 1:8.4p1-5+deb11u4 | DLA-4057-1 | ||
openssh | source | bookworm | 1:9.2p1-2+deb12u5 | DSA-5868-1 | ||
openssh | source | (unstable) | 1:9.9p2-1 |
https://www.openssh.com/releasenotes.html#9.9p2
https://www.qualys.com/2025/02/18/openssh-mitm-dos.txt
Introduced with: https://github.com/openssh/openssh-portable/commit/5e39a49930d885aac9c76af3129332b6e772cd75 (V_6_8_P1)
Fixed by: https://github.com/openssh/openssh-portable/commit/0832aac79517611dd4de93ad0a83577994d9c907 (V_9_9_P1)