CVE-2025-26465
published medium CVSS 3.1 · 6.8Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | OpenSSH6.8p1 through 9.9p1 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 8 | openssh0:8.0p1-26.el8_10 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | openssh0:8.7p1-45.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat | — | opensshRed Hat Enterprise Linux 9.4 Extended Update Support · 0:8.7p1-38.el9_4.5 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2769 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-865 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | openssh | Advisory build | 8.0p1-26.el8_10 | ALSA-2025:16823 |
| Alpine Linux | edge | openssh | Fixed | 9.9_p2-r0 | Package fix record |
Show 108 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | discovery/discovery-server-rhel9Red Hat Discovery 1.14 · 1.14.3-1748529279 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 10 | openssh | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 6, 7 | openssh | Unknown | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Siemens | — | SIDIS Secured SmartPlug0 to < V7.26.0310 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.5 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Debian | bookworm | openssh | Advisory build | 1:9.2p1-2+deb12u5 | DSA-5868-1 |
| Oracle Linux | 8 | opensshaarch64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Red Hat Enterprise Linux | RHEL-8 | opensshaarch64 | Advisory build | 8.0p1-26.el8_10 | RHSA-2025:16823 |
| SUSE / openSUSE | SLE-12-SP5 | opensshaarch64 | Advisory build | 7.2p2-81.26.1 | SUSE-SU-2025:0659-1 |
| Ubuntu | bionic | openssh | Advisory build | 1:7.6p1-4ubuntu0.7+esm4 | USN-7270-2 |
| AlmaLinux | 9 | openssh | Advisory build | 8.7p1-45.el9 | ALSA-2025:6993 |
| Alpine Linux | v3.18 | openssh | Fixed | 9.3_p2-r3 | Package fix record |
| Alpine Linux | v3.19 | openssh | Fixed | 9.6_p1-r2 | Package fix record |
| Alpine Linux | v3.20 | openssh | Fixed | 9.7_p1-r5 | Package fix record |
| Alpine Linux | v3.21 | openssh | Fixed | 9.9_p2-r0 | Package fix record |
| Alpine Linux | v3.22 | openssh | Fixed | 9.9_p2-r0 | Package fix record |
| Alpine Linux | v3.23 | openssh | Fixed | 9.9_p2-r0 | Package fix record |
| Alpine Linux | v3.24 | openssh | Fixed | 9.9_p2-r0 | Package fix record |
| Debian | bullseye | openssh | Advisory build | 1:8.4p1-5+deb11u4 | DLA-4057-1 |
| Oracle Linux | 8 | opensshx86_64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 9 | opensshaarch64 | Advisory build | 0:8.7p1-45.0.2.el9 | ELSA-2025-6993 |
| Oracle Linux | 9 | opensshx86_64 | Advisory build | 0:8.7p1-45.0.2.el9 | ELSA-2025-6993 |
| Red Hat Enterprise Linux | RHEL-8 | opensshppc64le | Advisory build | 8.0p1-26.el8_10 | RHSA-2025:16823 |
| Red Hat Enterprise Linux | RHEL-8 | opensshs390x | Advisory build | 8.0p1-26.el8_10 | RHSA-2025:16823 |
| Red Hat Enterprise Linux | RHEL-8 | opensshsrc | Advisory build | 8.0p1-26.el8_10 | RHSA-2025:16823 |
| Red Hat Enterprise Linux | RHEL-8 | opensshx86_64 | Advisory build | 8.0p1-26.el8_10 | RHSA-2025:16823 |
| Red Hat Enterprise Linux | RHEL-9 | opensshaarch64 | Advisory build | 8.7p1-38.el9_4.5 | RHSA-2025:3837 |
| Red Hat Enterprise Linux | RHEL-9 | opensshaarch64 | Advisory build | 8.7p1-45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux | RHEL-9 | opensshppc64le | Advisory build | 8.7p1-38.el9_4.5 | RHSA-2025:3837 |
| Red Hat Enterprise Linux | RHEL-9 | opensshppc64le | Advisory build | 8.7p1-45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux | RHEL-9 | opensshs390x | Advisory build | 8.7p1-38.el9_4.5 | RHSA-2025:3837 |
| Red Hat Enterprise Linux | RHEL-9 | opensshs390x | Advisory build | 8.7p1-45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux | RHEL-9 | opensshsrc | Advisory build | 8.7p1-38.el9_4.5 | RHSA-2025:3837 |
| Red Hat Enterprise Linux | RHEL-9 | opensshsrc | Advisory build | 8.7p1-45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux | RHEL-9 | opensshx86_64 | Advisory build | 8.7p1-38.el9_4.5 | RHSA-2025:3837 |
| Red Hat Enterprise Linux | RHEL-9 | opensshx86_64 | Advisory build | 8.7p1-45.el9 | RHSA-2025:6993 |
| SUSE / openSUSE | SLE-12-SP5 | opensshppc64le | Advisory build | 7.2p2-81.26.1 | SUSE-SU-2025:0659-1 |
| SUSE / openSUSE | SLE-12-SP5 | opensshs390x | Advisory build | 7.2p2-81.26.1 | SUSE-SU-2025:0659-1 |
| SUSE / openSUSE | SLE-12-SP5 | opensshx86_64 | Advisory build | 7.2p2-81.26.1 | SUSE-SU-2025:0659-1 |
| SUSE / openSUSE | SLE-15-SP3 | opensshaarch64 | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP3 | opensshppc64le | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP3 | opensshs390x | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP3 | opensshx86_64 | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP4 | opensshaarch64 | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP4 | opensshppc64le | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP4 | opensshs390x | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP4 | opensshx86_64 | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP5 | opensshaarch64 | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP5 | opensshppc64le | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP5 | opensshs390x | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP5 | opensshx86_64 | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-15-SP6 | opensshaarch64 | Advisory build | 9.6p1-150600.6.15.2 | SUSE-SU-2025:0585-1 |
| SUSE / openSUSE | SLE-15-SP6 | opensshppc64le | Advisory build | 9.6p1-150600.6.15.2 | SUSE-SU-2025:0585-1 |
| SUSE / openSUSE | SLE-15-SP6 | opensshs390x | Advisory build | 9.6p1-150600.6.15.2 | SUSE-SU-2025:0585-1 |
| SUSE / openSUSE | SLE-15-SP6 | opensshx86_64 | Advisory build | 9.6p1-150600.6.15.2 | SUSE-SU-2025:0585-1 |
| SUSE / openSUSE | SLE-5 | opensshaarch64 | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-5 | opensshppc64le | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-5 | opensshs390x | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | SLE-5 | opensshx86_64 | Advisory build | 8.4p1-150300.3.42.1 | SUSE-SU-2025:0605-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | opensshaarch64 | Advisory build | 9.6p1-150600.6.15.2 | SUSE-SU-2025:0585-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | opensshppc64le | Advisory build | 9.6p1-150600.6.15.2 | SUSE-SU-2025:0585-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | opensshs390x | Advisory build | 9.6p1-150600.6.15.2 | SUSE-SU-2025:0585-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | opensshx86_64 | Advisory build | 9.6p1-150600.6.15.2 | SUSE-SU-2025:0585-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opensshaarch64 | Advisory build | 9.9p2-1.1 | OPENSUSE-SU-2025:14820-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opensshppc64le | Advisory build | 9.9p2-1.1 | OPENSUSE-SU-2025:14820-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opensshs390x | Advisory build | 9.9p2-1.1 | OPENSUSE-SU-2025:14820-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | opensshx86_64 | Advisory build | 9.9p2-1.1 | OPENSUSE-SU-2025:14820-1 |
| Ubuntu | focal | openssh | Advisory build | 1:8.2p1-4ubuntu0.12 | USN-7270-1 |
| Ubuntu | jammy | openssh | Advisory build | 1:8.9p1-3ubuntu0.11 | USN-7270-1 |
| Ubuntu | noble | openssh | Advisory build | 1:9.6p1-3ubuntu13.8 | USN-7270-1 |
| Ubuntu | xenial | openssh | Advisory build | 1:7.2p2-4ubuntu2.10+esm7 | USN-7270-2 |
| AlmaLinux | 8 | openssh-askpass | Advisory build | 8.0p1-26.el8_10 | ALSA-2025:16823 |
| AlmaLinux | 8 | openssh-cavs | Advisory build | 8.0p1-26.el8_10 | ALSA-2025:16823 |
| AlmaLinux | 8 | openssh-clients | Advisory build | 8.0p1-26.el8_10 | ALSA-2025:16823 |
| AlmaLinux | 8 | openssh-keycat | Advisory build | 8.0p1-26.el8_10 | ALSA-2025:16823 |
| AlmaLinux | 8 | openssh-ldap | Advisory build | 8.0p1-26.el8_10 | ALSA-2025:16823 |
| AlmaLinux | 8 | openssh-server | Advisory build | 8.0p1-26.el8_10 | ALSA-2025:16823 |
| AlmaLinux | 8 | pam_ssh_agent_auth | Advisory build | 0.10.3-7.26.el8_10 | ALSA-2025:16823 |
| AlmaLinux | 9 | openssh-askpass | Advisory build | 8.7p1-45.el9 | ALSA-2025:6993 |
| AlmaLinux | 9 | openssh-clients | Advisory build | 8.7p1-45.el9 | ALSA-2025:6993 |
| AlmaLinux | 9 | openssh-keycat | Advisory build | 8.7p1-45.el9 | ALSA-2025:6993 |
| AlmaLinux | 9 | openssh-server | Advisory build | 8.7p1-45.el9 | ALSA-2025:6993 |
| AlmaLinux | 9 | pam_ssh_agent_auth | Advisory build | 0.10.4-5.45.el9 | ALSA-2025:6993 |
| Oracle Linux | 8 | openssh-askpassaarch64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-askpassx86_64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-cavsaarch64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-cavsx86_64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-clientsaarch64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-clientsx86_64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-keycataarch64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-keycatx86_64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-ldapaarch64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-ldapx86_64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-serveraarch64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | openssh-serverx86_64 | Advisory build | 0:8.0p1-26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | pam_ssh_agent_authaarch64 | Advisory build | 0:0.10.3-7.26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 8 | pam_ssh_agent_authx86_64 | Advisory build | 0:0.10.3-7.26.0.1.el8_10 | ELSA-2025-16823 |
| Oracle Linux | 9 | openssh-askpassaarch64 | Advisory build | 0:8.7p1-45.0.2.el9 | ELSA-2025-6993 |
| Oracle Linux | 9 | openssh-askpassx86_64 | Advisory build | 0:8.7p1-45.0.2.el9 | ELSA-2025-6993 |
| Oracle Linux | 9 | openssh-clientsaarch64 | Advisory build | 0:8.7p1-45.0.2.el9 | ELSA-2025-6993 |
| Oracle Linux | 9 | openssh-clientsx86_64 | Advisory build | 0:8.7p1-45.0.2.el9 | ELSA-2025-6993 |
| Oracle Linux | 9 | openssh-keycataarch64 | Advisory build | 0:8.7p1-45.0.2.el9 | ELSA-2025-6993 |
| Oracle Linux | 9 | openssh-keycatx86_64 | Advisory build | 0:8.7p1-45.0.2.el9 | ELSA-2025-6993 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenSSH | 6.8p1 through 9.9p1 (affected · custom)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat Enterprise Linux 8 | 0:8.0p1-26.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | 0:8.0p1-26.el8_10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:8.7p1-45.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:8.7p1-45.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support | 0:8.7p1-38.el9_4.5 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Discovery 1.14 | 1.14.3-1748529279 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Siemens | SIDIS Secured SmartPlug | 0 to < V7.26.0310 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.5 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-390 Detection of Error Condition Without Action
References
27- http://seclists.org/fulldisclosure/2025/Feb/18
- http://seclists.org/fulldisclosure/2025/May/7
- http://seclists.org/fulldisclosure/2025/May/8
- RHSA-2025:16823 https://access.redhat.com/errata/RHSA-2025:16823
- RHSA-2025:3837 https://access.redhat.com/errata/RHSA-2025:3837
- RHSA-2025:6993 https://access.redhat.com/errata/RHSA-2025:6993
- RHSA-2025:8385 https://access.redhat.com/errata/RHSA-2025:8385
- https://access.redhat.com/security/cve/CVE-2025-26465
- https://access.redhat.com/solutions/7109879
- https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-two-vulnerabilities-in-openssh-cve-2025-26465-cve-2025-26466
- RHBZ#2344780 https://bugzilla.redhat.com/show_bug.cgi?id=2344780
- https://bugzilla.suse.com/show_bug.cgi?id=1237040
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-585531.html
- https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig
- https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html
- https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html
- https://seclists.org/oss-sec/2025/q1/144
- https://security-tracker.debian.org/tracker/CVE-2025-26465
- https://security.netapp.com/advisory/ntap-20250228-0003/
- https://ubuntu.com/security/CVE-2025-26465
- https://www.openssh.com/releasenotes.html#9.9p2
- 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://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-openssh
- https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-openssh
Provider assertions
4redhat · cna
Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 410aa5a9fe36e8fb21ab16008366784faeb98d284f991cc98663891ddb636cb2
- Ingested
- 24 Nov 2026, 09:05:29 UTC
- Source record
- Official CVE record