Exploited
CWE
390
EPSS
0.043%
Advisory Published
CVE Published
Updated

CVE-2025-26465: Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled

First published: Mon Feb 10 2025(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
debian/openssh<=1:8.4p1-5+deb11u3<=1:9.2p1-2+deb12u4<=1:9.9p1-3
1:8.4p1-5+deb11u4
1:9.2p1-2+deb12u5
1:9.9p2-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Peer vulnerabilities

(Found alongside the following vulnerabilities)

Frequently Asked Questions

  • What is the severity of CVE-2025-26465?

    CVE-2025-26465 has a critical severity level due to the potential for a machine-in-the-middle attack.

  • How do I fix CVE-2025-26465?

    To fix CVE-2025-26465, upgrade to OpenSSH versions 1:8.4p1-5+deb11u4, 1:9.2p1-2+deb12u5, or 1:9.9p2-1.

  • What systems are affected by CVE-2025-26465?

    CVE-2025-26465 affects OpenSSH versions up to 1:8.4p1-5+deb11u3, 1:9.2p1-2+deb12u4, and 1:9.9p1-3.

  • Can CVE-2025-26465 lead to unauthorized access?

    Yes, CVE-2025-26465 can allow an attacker to impersonate a legitimate server, potentially leading to unauthorized access.

  • Is it safe to use OpenSSH with VerifyHostKeyDNS enabled after the fix for CVE-2025-26465?

    After applying the fix for CVE-2025-26465, using OpenSSH with VerifyHostKeyDNS enabled is considered safe.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203