Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2025-26465: 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.
Fixed packages 10
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | openssh | 0:7.4p1-22.amzn2.0.9 |
| Amazon Linux · 2 | openssh-askpass | 0:7.4p1-22.amzn2.0.9 |
| Amazon Linux · 2 | openssh-cavs | 0:7.4p1-22.amzn2.0.9 |
| Amazon Linux · 2 | openssh-clients | 0:7.4p1-22.amzn2.0.9 |
| Amazon Linux · 2 | openssh-debuginfo | 0:7.4p1-22.amzn2.0.9 |
| Amazon Linux · 2 | openssh-keycat | 0:7.4p1-22.amzn2.0.9 |
| Amazon Linux · 2 | openssh-ldap | 0:7.4p1-22.amzn2.0.9 |
| Amazon Linux · 2 | openssh-server | 0:7.4p1-22.amzn2.0.9 |
| Amazon Linux · 2 | openssh-server-sysvinit | 0:7.4p1-22.amzn2.0.9 |
| Amazon Linux · 2 | pam_ssh_agent_auth | 0:0.10.3-2.22.amzn2.0.9 |
Vulnerabilities 1
-
Medium 6.8CVE-2025-26465 Public exploit
Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled
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 cond…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2025-26465.html