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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-02-18 · Modified: 2026-11-24
- Aliases: ALPINE-CVE-2025-26465, MGASA-2025-0080, SUSE-SU-2025:0605-1, SUSE-SU-2025:0659-1, SUSE-SU-2025:0744-1, RHSA-2025:16823, RHSA-2025:3837, UBUNTU-CVE-2025-26465, USN-7270-2, DEBIAN-CVE-2025-26465, DLA-4057-1, DSA-5868-1
- Record: https://cvemate.com/vulnerability/CVE-2025-26465 · JSON: https://cvemate.com/vulnerability/CVE-2025-26465/json

## Description

```text
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.
```

## Signals

- CVSS: 6.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 5.242%, percentile 92.75%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 66)

- alpine openssh (Alpine Linux): ≥ 6.9, \< 9.3\_p2-r3 \| ≥ 6.9, \< 9.6\_p1-r2 \| ≥ 6.9, \< 9.7\_p1-r5 \| ≥ 6.9, \< 9.9\_p2-r0
- debian openssh (Debian): \< 1:8.4p1-5+deb11u4 \| \< 1:9.2p1-2+deb12u5 \| \< 1:9.9p2-1
- ubuntu openssh (Ubuntu): \< 1:7.2p2-4ubuntu2.10+esm7 \| \< 1:7.2p2-4ubuntu2.fips.2.10.7 \| All versions (No fix recorded) \| \< 1:7.6p1-4ubuntu0.7+esm4 \| \< 1:7.9p1-10~ubuntu18.04.fips.0.10 \| \< 1:8.2p1-4ubuntu0.12 \| \< 1:8.2p1-4ubuntu0.fips.0.12 \| \< 1:8.9p1-3ubuntu0.11 \| \< 1:8.9p1-3ubuntu0.11+Fips1 \| \< 1:9.6p1-3ubuntu13.8 \| \< 1:9.6p1-3ubuntu13.12+Fips1
- ubuntu openssh-ssh1 (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 11.0 \| 12.0
- mageia openssh (Mageia): \< 9.3p1-2.4.mga9
- netapp active\_iq\_unified\_manager: na
- netapp ontap: 9
- openbsd openssh: ≥ 6.9, ≤ 9.8 \| 6.8:p1 \| 9.9 \| 9.9:p1
- redhat enterprise\_linux: 9.0
- redhat openshift\_container\_platform: 4.0
- redhat openssh (Red Hat): \< 0:8.0p1-26.el8\_10 \| \< 0:8.7p1-38.el9\_4.5
- redhat openssh-askpass (Red Hat): \< 0:8.0p1-26.el8\_10 \| \< 0:8.7p1-38.el9\_4.5
- redhat openssh-askpass-debuginfo (Red Hat): \< 0:8.0p1-26.el8\_10 \| \< 0:8.7p1-38.el9\_4.5
- redhat openssh-cavs (Red Hat): \< 0:8.0p1-26.el8\_10
- redhat openssh-cavs-debuginfo (Red Hat): \< 0:8.0p1-26.el8\_10
- redhat openssh-clients (Red Hat): \< 0:8.0p1-26.el8\_10 \| \< 0:8.7p1-38.el9\_4.5
- redhat openssh-clients-debuginfo (Red Hat): \< 0:8.0p1-26.el8\_10 \| \< 0:8.7p1-38.el9\_4.5
- redhat openssh-debuginfo (Red Hat): \< 0:8.0p1-26.el8\_10 \| \< 0:8.7p1-38.el9\_4.5
- redhat openssh-debugsource (Red Hat): \< 0:8.0p1-26.el8\_10 \| \< 0:8.7p1-38.el9\_4.5

## References (first 20 of 57)

- <https://access.redhat.com/errata/RHSA-2025:16823>
- <https://access.redhat.com/errata/RHSA-2025:3837>
- <https://access.redhat.com/errata/RHSA-2025:6993>
- <https://access.redhat.com/errata/RHSA-2025:8385>
- <https://access.redhat.com/security/cve/CVE-2025-26465>
- <https://access.redhat.com/solutions/7109879>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2344780>
- <https://seclists.org/oss-sec/2025/q1/144>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html>
- <https://www.openwall.com/lists/oss-security/2025/02/18/1>
- <https://www.openwall.com/lists/oss-security/2025/02/18/4>
- <https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/>
- <https://bugzilla.suse.com/show_bug.cgi?id=1237040>
- <https://security-tracker.debian.org/tracker/CVE-2025-26465>
- <https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig>
- <https://ubuntu.com/security/CVE-2025-26465>
- <https://www.openssh.com/releasenotes.html#9.9p2>
- <https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-two-vulnerabilities-in-openssh-cve-2025-26465-cve-2025-26466>
- <https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html>
- <https://security.netapp.com/advisory/ntap-20250228-0003/>

---

Data as of 2026-12-05T02:45:50.856Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
