USN-7270-2: OpenSSH vulnerability
18 February 2025
OpenSSH could be made to bypass the server identity check.
Releases
Packages
- openssh - secure shell (SSH) for secure access to remote machines
Details
USN-7270-1 fixed a vulnerability in OpenSSH. This update provides
the corresponding update for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
Original advisory details:
It was discovered that the OpenSSH client incorrectly handled the
non-default VerifyHostKeyDNS option. If that option were enabled, an
attacker could possibly impersonate a server by completely bypassing the
server identity check. (CVE-2025-26465)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 18.04
-
openssh-client
-
1:7.6p1-4ubuntu0.7+esm4
Available with Ubuntu Pro
-
openssh-server
-
1:7.6p1-4ubuntu0.7+esm4
Available with Ubuntu Pro
Ubuntu 16.04
-
openssh-client
-
1:7.2p2-4ubuntu2.10+esm7
Available with Ubuntu Pro
-
openssh-server
-
1:7.2p2-4ubuntu2.10+esm7
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.