CVE-2025-26465: OpenSSH VerifyHostKeyDNS Host Verification Bypass
- Vendors
- NetAppDebian ProjectRed HatOpenbsd
CVE-2025-26465 is a host-key verification logic error in the OpenSSH client affecting versions 6.8p1 through 9.9p1 inclusive. When VerifyHostKeyDNS is set to yes or ask, incorrect error-code handling during host-key verification can allow an on-path attacker to impersonate an arbitrary SSH server. Successful exploitation requires inducing client memory exhaustion to trigger the vulnerable error-handling behavior, making exploitation high complexity. The vulnerability affects client-side server authentication, rather than authentication to the SSH server.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation defeats SSH server identity verification, allowing an attacker to impersonate the intended server and compromise the confidentiality and integrity of the resulting connection. The attacker may obtain sensitive information supplied through the session and manipulate session traffic. The vulnerability does not by itself establish arbitrary code execution on the client or an authentication bypass into the legitimate server.
Mitigation
If you can’t patch tonight, do this now.
Set VerifyHostKeyDNS to no in the effective SSH client configuration. Use known-host trust-on-first-use verification or SSH certificate-based host authentication instead. Ensure the setting is disabled for all applicable host-specific configurations.
Remediation
Patch, then assume compromise.
Upgrade the OpenSSH client to version 9.9p2 or later, or install the operating-system vendor's security update containing the backported fix for CVE-2025-26465. For appliances and bundled deployments, apply the product vendor's corresponding security update.
Exploits
No validated public exploits yet. Hidden: 2 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-26465 exploited in the wild?
- As of Nov 6, 2026, Mallory has no reports of CVE-2025-26465 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2025-26465?
- Yes. As of Nov 6, 2026, Mallory has reports of a public exploit for CVE-2025-26465.
- Is there a patch for CVE-2025-26465?
- Upgrade the OpenSSH client to version 9.9p2 or later, or install the operating-system vendor's security update containing the backported fix for CVE-2025-26465. For appliances and bundled deployments, apply the product vendor's corresponding security update.
- What products are affected by CVE-2025-26465?
- Openbsd Openssh, NetApp Activeiq Unified Manager, Debian Project Debian Linux, NetApp Ontap, Red Hat Openshift Container Platform, and 1 more.
- How severe is CVE-2025-26465?
- CVE-2025-26465 has a CVSS v3.1 score of 6.8 (Medium) and an EPSS score of 4.3% (92nd percentile) as of Nov 6, 2026.
Recent activity
33 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.