CVE
CVE-2025-26465
CNA description
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.
Affected versions
- 9.9p1This version only
- 9.9This version only
- ≥ 6.9, ≤ 9.8Affected up to 9.8 — see vendor advisory
- 6.8p1This version only
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- access.redhat.com/security/cve/CVE-2025-26465 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2025/02/msg00020.html · Third Party Advisory
- security-tracker.debian.org/tracker/CVE-2025-26465 · Third Party Advisory
- ubuntu.com/security/CVE-2025-26465 · Third Party Advisory
- www.openssh.com/releasenotes.html · Release Notes
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.