Skip to content
Fencer Intel
medium 6.8

CVE-2025-26465 json

Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled

published last yr. modified 4d ago also EUVD-2025-4686 , JLSEC-2026-72

cvss
6.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
7.7%
EPSS 7.7% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia OpenSSH_jll 9.9.1+0
  • Red Hat Red Hat Enterprise Linux 8 0:8.0p1-26.el8_10
  • Red Hat Red Hat Enterprise Linux 9 0:8.7p1-45.el9
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support 0:8.7p1-38.el9_4.5
  • Red Hat Red Hat Discovery 1.14 1.14.3-1748529279
  • Siemens SIDIS Secured SmartPlug V7.26.0310
  • openssh Debian 12 1:9.2p1-2+deb12u5
  • openssh Debian 14, Debian 13 1:9.9p2-1

debian advisories DEBIAN-CVE-2025-26465

  • openssh Ubuntu 20.04 LTS 1:8.2p1-4ubuntu0.12
  • openssh Ubuntu 22.04 LTS 1:8.9p1-3ubuntu0.11
  • openssh Ubuntu 24.04 LTS 1:9.6p1-3ubuntu13.8
  • openssh Ubuntu Pro 16.04 LTS 1:7.2p2-4ubuntu2.10+esm7
  • openssh Ubuntu Pro FIPS-updates 16.04 LTS 1:7.2p2-4ubuntu2.fips.2.10.7
  • openssh Ubuntu Pro 18.04 LTS 1:7.6p1-4ubuntu0.7+esm4
  • openssh Ubuntu Pro FIPS-updates 18.04 LTS 1:7.9p1-10~ubuntu18.04.fips.0.10
  • openssh Ubuntu Pro FIPS-updates 20.04 LTS 1:8.2p1-4ubuntu0.fips.0.12

ubuntu advisories UBUNTU-CVE-2025-26465

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh RHEL 8 8.0p1-26.el8_10
  • openssh-cavs RHEL 8 8.0p1-26.el8_10
  • openssh-ldap RHEL 8 8.0p1-26.el8_10
  • openssh-keycat RHEL 8 8.0p1-26.el8_10
  • openssh-server RHEL 8 8.0p1-26.el8_10
  • openssh-askpass RHEL 8 8.0p1-26.el8_10
  • openssh-clients RHEL 8 8.0p1-26.el8_10
  • pam_ssh_agent_auth RHEL 8 0.10.3-7.26.el8_10

red hat advisories RHSA-2025:16823RHSA-2025:6993RHSA-2025:3837

  • openssh Linux Micro 6.0 9.6p1-3.1
  • openssh Linux Micro 6.1 9.6p1-slfo.1.1_2.1
  • openssh SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +16 more 8.4p1-150300.3.42.1
  • openssh-askpass-gnome SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +9 more 8.4p1-150300.3.42.1
  • openssh SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 9.6p1-150600.6.15.2
  • openssh-askpass-gnome SLE Module for Desktop Applications 15 SP6, openSUSE Leap 15.6 9.6p1-150600.6.15.1
  • openssh8.4 SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 8.4p1-8.16.1
  • openssh SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 7.2p2-81.26.1

suse advisories SUSE-SU-2025:20160-1SUSE-SU-2025:0744-1SUSE-SU-2025:20226-1SUSE-SU-2025:0659-1SUSE-SU-2025:0605-1SUSE-SU-2025:0585-1

  • openssh openSUSE Tumbleweed 9.9p2-1.1

opensuse advisories openSUSE-SU-2025:14820-1

  • openssh AlmaLinux 8 8.0p1-26.el8_10
  • openssh-cavs AlmaLinux 8 8.0p1-26.el8_10
  • openssh-ldap AlmaLinux 8 8.0p1-26.el8_10
  • openssh-keycat AlmaLinux 8 8.0p1-26.el8_10
  • openssh-server AlmaLinux 8 8.0p1-26.el8_10
  • openssh-askpass AlmaLinux 8 8.0p1-26.el8_10
  • openssh-clients AlmaLinux 8 8.0p1-26.el8_10
  • pam_ssh_agent_auth AlmaLinux 8 0.10.3-7.26.el8_10

almalinux advisories ALSA-2025:16823ALSA-2025:6993

  • openssh Rocky Linux 9 8.7p1-45.el9
  • openssh Rocky Linux 8 8.0p1-26.el8_10

rocky linux advisories RLSA-2025:6993RLSA-2025:16823

  • openssh Alpine 3.18 9.3_p2-r3
  • openssh Alpine 3.19 9.6_p1-r2
  • openssh Alpine 3.20 9.7_p1-r5
  • openssh Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 9.9_p2-r0

alpine advisories ALPINE-CVE-2025-26465

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh CBL-Mariner 2.0 8.9p1-7
  • openssh Azure Linux 3.0 9.8p1-3

azure linux advisories AZL-56891AZL-56894

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2025-26465 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-26465 updated cvss 6.8

openssh: Machine-in-the-middle attack if VerifyHostKeyDNS is enabled

  • Red Hat Enterprise Linux 6 openssh, openssh-ldap, openssh-server, openssh-askpass, openssh-clients, pam_ssh_agent_auth Red Hat Enterprise Linux 7 openssh, openssh-cavs, openssh-ldap, openssh-keycat, openssh-server, openssh-askpass, +3 more
    affected: workaround, no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Discovery 1.14 discovery 1.14.3-1748529279
    fixed: vendor fix RHSA-2025:8385
  • Red Hat Enterprise Linux AppStream (v. 8) openssh-askpass 8.0p1-26.el8_10
    fixed: vendor fix RHSA-2025:16823
  • Red Hat Enterprise Linux AppStream (v. 9) openssh-askpass 8.7p1-45.el9, pam_ssh_agent_auth 0.10.4-5.45.el9
    fixed: vendor fix RHSA-2025:6993
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) openssh-askpass 8.7p1-38.el9_4.5, pam_ssh_agent_auth 0.10.4-5.38.el9_4.5
    fixed: vendor fix RHSA-2025:3837
  • Red Hat Enterprise Linux BaseOS (v. 8) openssh 8.0p1-26.el8_10, openssh-cavs 8.0p1-26.el8_10, openssh-ldap 8.0p1-26.el8_10, openssh-keycat 8.0p1-26.el8_10, openssh-server 8.0p1-26.el8_10, openssh-clients 8.0p1-26.el8_10, +1 more
    fixed: vendor fix RHSA-2025:16823
  • Red Hat Enterprise Linux BaseOS (v. 9) openssh 8.7p1-45.el9, openssh-keycat 8.7p1-45.el9, openssh-server 8.7p1-45.el9, openssh-clients 8.7p1-45.el9
    fixed: vendor fix RHSA-2025:6993
show 2 more
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) openssh 8.7p1-38.el9_4.5, openssh-keycat 8.7p1-38.el9_4.5, openssh-server 8.7p1-38.el9_4.5, openssh-clients 8.7p1-38.el9_4.5
    fixed: vendor fix RHSA-2025:3837
  • Red Hat Discovery 1.14 discovery 1.14.2-1748467619 Red Hat Enterprise Linux 10 openssh
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-202-04 updated cvss 6.8

Siemens SIDIS Secured SmartPlug

  • Siemens SIDIS Secured SmartPlug < 7.26.0310
    affected: fixed in V7.26.0310

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-25-162-05 updated cvss 6.8

Siemens SIMATIC S7-1500 CPU family

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.5
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
last yr.

Exploit prediction

7.72% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • seclists.org https://seclists.org/oss-sec/2025/q1/144 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD 3.1 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
OSV 3.1 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected packages

ecosystem package affected fixed in
julia OpenSSH_jll
<9.9.1+0
9.9.1+0

Affected products

  • openssh.com OpenSSH
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 9.4 Extended Update Support
  • Red Hat Red Hat Discovery 1.14
  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat OpenShift Container Platform 4
  • Siemens SIDIS Secured SmartPlug
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-390 Detection of Error Condition Without Action

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.