CVE-2025-26465
MEDIUM 6.8CVSS 3.1Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled
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.
- Published
- 18 Feb 2025
- Last modified
- 24 Nov 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-390
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| CVE List | redhat | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openbsd | opensshcpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:* |
>= 6.9, <= 9.8 | |
| NVD | openbsd | opensshcpe:2.3:a:openbsd:openssh:6.8:p1:*:*:*:*:*:* |
= 6.8 | |
| NVD | openbsd | opensshcpe:2.3:a:openbsd:openssh:9.9:-:*:*:*:*:*:* |
= 9.9 | |
| NVD | openbsd | opensshcpe:2.3:a:openbsd:openssh:9.9:p1:*:*:*:*:*:* |
= 9.9 | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* |
(no version) | |
| NVD | netapp | ontapcpe:2.3:a:netapp:ontap:9:*:*:*:*:*:*:* |
= 9 | |
| NVD | redhat | openshift_container_platformcpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* |
= 12.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| CVE List | https://www.openssh.com/ | OpenSSH | >= 6.8p1, <= 9.9p1 | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | opensshcpe:/a:redhat:enterprise_linux:8::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | opensshcpe:/a:redhat:enterprise_linux:9::appstream |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | opensshcpe:/a:redhat:rhel_eus:9.4::appstream |
all versions | |
| CVE List | https://catalog.redhat.com/software/containers/ | discovery/discovery-server-rhel9cpe:/a:redhat:discovery:1.14::el9 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | opensshcpe:/o:redhat:enterprise_linux:10 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | opensshcpe:/o:redhat:rhel_els:6 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | opensshcpe:/o:redhat:rhel_els:7 |
||
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | openshift/ose-rhel-coreos-9cpe:/a:redhat:openshift:4 |
all versions | |
| CVE List | Siemens | SIDIS Secured SmartPlug | < V7.26.0310 | V7.26.0310 |
| CVE List | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.5 | |
| CVE List | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.5 | |
| CVE List | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.5 |
References
- https://access.redhat.com/errata/RHSA-2025:16823 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:3837 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:6993 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2025:8385 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-26465 · Third Party Advisory, vdb-entry, x_refsource_REDHAT
- https://access.redhat.com/solutions/7109879
- https://bugzilla.redhat.com/show_bug.cgi?id=2344780 · Issue Tracking, Third Party Advisory, issue-tracking, x_refsource_REDHAT
- https://seclists.org/oss-sec/2025/q1/144 · Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2025/Feb/18
- http://seclists.org/fulldisclosure/2025/May/7
- http://seclists.org/fulldisclosure/2025/May/8
- https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-two-vulnerabilities-in-openssh-cve-2025-26465-cve-2025-26466 · Third Party Advisory
- https://bugzilla.suse.com/show_bug.cgi?id=1237040 · Issue Tracking
- https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig · Patch
- https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html · Third Party Advisory
- https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html · Third Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2025-26465 · Third Party Advisory
- https://security.netapp.com/advisory/ntap-20250228-0003/ · Third Party Advisory
- https://ubuntu.com/security/CVE-2025-26465 · Third Party Advisory
- https://www.openssh.com/releasenotes.html#9.9p2 · Release Notes
- https://www.openwall.com/lists/oss-security/2025/02/18/1 · Mailing List, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2025/02/18/4 · Mailing List, Third Party Advisory
- https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/ · Press/Media Coverage
- https://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-openssh · Third Party Advisory
- https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-openssh · Mitigation, Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-585531.html
History
- 25 Nov 2026 20:36 UTC · CVE List: first stored (published 18 Feb 2025)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 18 Feb 2025)