Skip to main content
← All vulnerabilities
CVE-2025-26465

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

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • OpenSSH

    From 6.8p1 · through 9.9p1

  • openssh

    Version range not reported

  • openssh

    Version range not reported

  • openssh

    Version range not reported

  • discovery/discovery-server-rhel9

    Version range not reported

  • openssh

    Version range not reported

  • openssh

    Version range not reported

  • openssh

    Version range not reported

  • openshift/ose-rhel-coreos-9

    Version range not reported

References 8

access.redhat.com

bugzilla.redhat.com

seclists.org