cve.bz

CVE-2025-26465

6.8 mediumEPSS 7.7%Fix available

Medium (6.8). EPSS 7.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS
7.7% (unchanged from 7.7% a week ago; 7.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-02-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-390 Detection of Error Condition Without Action
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-26465 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-26465?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-26465?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-26465 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2025-26465

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2025-26465](https://cve.bz/cve/badge/CVE-2025-26465.svg)](https://cve.bz/cve/CVE-2025-26465)

HTML:

<a href="https://cve.bz/cve/CVE-2025-26465"><img src="https://cve.bz/cve/badge/CVE-2025-26465.svg" alt="CVE-2025-26465"></a>

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 80:8.0p1-26.el8_10
Red Hat Enterprise Linux 90:8.7p1-45.el9
Red Hat Enterprise Linux 9.4 Extended Update Support0:8.7p1-38.el9_4.5
Red Hat Discovery 1.141.14.3-1748529279

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11openssh1:8.4p1-5+deb11u4DLA-4057-1
Debian12openssh1:9.2p1-2+deb12u5DEBIAN-CVE-2025-26465 DSA-5868-1
Debian13, 14openssh1:9.9p2-1DEBIAN-CVE-2025-26465
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreopenssh-ssh1no fix listedUBUNTU-CVE-2025-26465
Ubuntu20.04:LTSopenssh1:8.2p1-4ubuntu0.12UBUNTU-CVE-2025-26465 USN-7270-1
Ubuntu22.04:LTSopenssh1:8.9p1-3ubuntu0.11UBUNTU-CVE-2025-26465 USN-7270-1
Ubuntu24.04:LTSopenssh1:9.6p1-3ubuntu13.8UBUNTU-CVE-2025-26465 USN-7270-1
UbuntuPro:16.04:LTSopenssh1:7.2p2-4ubuntu2.10+esm7UBUNTU-CVE-2025-26465 USN-7270-2
UbuntuPro:18.04:LTSopenssh1:7.6p1-4ubuntu0.7+esm4UBUNTU-CVE-2025-26465 USN-7270-2
UbuntuPro:FIPS-preview:22.04:LTS, Pro:FIPS:16.04:LTS, Pro:FIPS:18.04:LTS and 1 moreopensshno fix listedUBUNTU-CVE-2025-26465
UbuntuPro:FIPS-updates:16.04:LTSopenssh1:7.2p2-4ubuntu2.fips.2.10.7UBUNTU-CVE-2025-26465
UbuntuPro:FIPS-updates:18.04:LTSopenssh1:7.9p1-10~ubuntu18.04.fips.0.10UBUNTU-CVE-2025-26465
UbuntuPro:FIPS-updates:20.04:LTSopenssh1:8.2p1-4ubuntu0.fips.0.12UBUNTU-CVE-2025-26465
UbuntuPro:FIPS-updates:22.04:LTSopenssh1:8.9p1-3ubuntu0.11+Fips1UBUNTU-CVE-2025-26465
UbuntuPro:FIPS-updates:24.04:LTSopenssh1:9.6p1-3ubuntu13.12+Fips1UBUNTU-CVE-2025-26465
Red Hatenterprise_linux:8::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 6 more0:8.0p1-26.el8_10RHSA-2025:16823
Red Hatenterprise_linux:8::appstreampam_ssh_agent_auth-debuginfo0:0.10.3-7.26.el8_10RHSA-2025:16823
Red Hatenterprise_linux:8::baseosopenssh, openssh-cavs, openssh-ldap and 11 more0:8.0p1-26.el8_10RHSA-2025:16823
Red Hatenterprise_linux:8::baseospam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.3-7.26.el8_10RHSA-2025:16823
Red Hatenterprise_linux:9::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more0:8.7p1-45.el9RHSA-2025:6993
Red Hatenterprise_linux:9::appstreampam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.4-5.45.el9RHSA-2025:6993
Red Hatenterprise_linux:9::baseosopenssh, openssh-keycat, openssh-server and 8 more0:8.7p1-45.el9RHSA-2025:6993
Red Hatenterprise_linux:9::baseospam_ssh_agent_auth-debuginfo0:0.10.4-5.45.el9RHSA-2025:6993
Red Hatrhel_eus:9.4::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more0:8.7p1-38.el9_4.5RHSA-2025:3837
Red Hatrhel_eus:9.4::appstreampam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.4-5.38.el9_4.5RHSA-2025:3837
Red Hatrhel_eus:9.4::baseosopenssh, openssh-keycat, openssh-server and 8 more0:8.7p1-38.el9_4.5RHSA-2025:3837
Red Hatrhel_eus:9.4::baseospam_ssh_agent_auth-debuginfo0:0.10.4-5.38.el9_4.5RHSA-2025:3837
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moreopenssh, openssh-askpass-gnome8.4p1-150300.3.42.1SUSE-SU-2025:0605-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 4 moreopenssh8.4p1-150300.3.42.1SUSE-SU-2025:0605-1
SUSELinux Enterprise Module for Basesystem 15 SP6openssh9.6p1-150600.6.15.2SUSE-SU-2025:0585-1
SUSELinux Enterprise Module for Desktop Applications 15 SP6openssh-askpass-gnome9.6p1-150600.6.15.1SUSE-SU-2025:0585-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5openssh, openssh-askpass-gnome7.2p2-81.26.1SUSE-SU-2025:0659-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5openssh8.48.4p1-8.16.1SUSE-SU-2025:0744-1
SUSELinux Micro 6.0openssh9.6p1-3.1SUSE-SU-2025:20160-1
SUSELinux Micro 6.1openssh9.6p1-slfo.1.1_2.1SUSE-SU-2025:20226-1
openSUSELeap 15.6openssh9.6p1-150600.6.15.2SUSE-SU-2025:0585-1
openSUSELeap 15.6openssh-askpass-gnome9.6p1-150600.6.15.1SUSE-SU-2025:0585-1
openSUSETumbleweedopenssh9.9p2-1.1openSUSE-SU-2025:14820-1
AlmaLinux8openssh, openssh-cavs, openssh-ldap and 4 more8.0p1-26.el8_10ALSA-2025:16823
AlmaLinux8pam_ssh_agent_auth0.10.3-7.26.el8_10ALSA-2025:16823
AlmaLinux9openssh, openssh-keycat, openssh-server and 2 more8.7p1-45.el9ALSA-2025:6993
AlmaLinux9pam_ssh_agent_auth0.10.4-5.45.el9ALSA-2025:6993
Rocky Linux8openssh0:8.0p1-26.el8_10RLSA-2025:16823
Rocky Linux9openssh0:8.7p1-45.el9RLSA-2025:6993
Alpinev3.18openssh9.3_p2-r3ALPINE-CVE-2025-26465
Alpinev3.19openssh9.6_p1-r2ALPINE-CVE-2025-26465
Alpinev3.20openssh9.7_p1-r5ALPINE-CVE-2025-26465
Alpinev3.21, v3.22, v3.23 and 1 moreopenssh9.9_p2-r0ALPINE-CVE-2025-26465
Azure Linux2openssh8.9p1-7AZL-56891
Azure Linux3openssh9.8p1-3AZL-56894
Alpaquita23openssh9.1_p1-r9BELL-CVE-2025-26465
Alpaquitastreamopenssh9.9_p2-r0BELL-CVE-2025-26465
BellSoft Hardened Containers23openssh9.1_p1-r9BELL-CVE-2025-26465
BellSoft Hardened Containersstreamopenssh9.9_p2-r0BELL-CVE-2025-26465

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue is rated as a moderate severity vulnerability instead of important because it requires specific conditions to be exploitable.

First, the OpenSSH client must have the VerifyHostKeyDNS option enabled, which is disabled by default in Red Hat Enterprise Linux.

Second, the attacker must be able to exhaust SSH client memory and trigger out-of-memory condition.

Additionally, while the attack allows a machine-in-the-middle (MITM) adversary to trick the client into accepting an incorrect host key, it does not directly lead to code execution or immediate system compromise. Instead, the attack requires additional steps, such as credential interception or session hijacking to fully exploit the breach.

Red Hat's mitigation

This issue can be mitigated by disabling VerifyHostKeyDNS by setting that option to 'no' in an SSH client configuration file (such as /etc/ssh/ssh_config, ~/.ssh/config, or one of the files in the /etc/ssh/ssh_config.d/ directory). This is the default configuration in Red Hat Enterprise Linux.

For configurations that require VerifyHostKeyDNS to be enabled (set to either 'yes' or 'ask'), mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8openssh-0:8.0p1-26.el8_10Fixed 2025-09-26RHSA-2025:16823
Red Hat Enterprise Linux 9openssh-0:8.7p1-45.el9Fixed 2025-05-13RHSA-2025:6993
Red Hat Enterprise Linux 9.4 Extended Update Supportopenssh-0:8.7p1-38.el9_4.5Fixed 2025-04-14RHSA-2025:3837
Red Hat Discovery 1.14discovery/discovery-server-rhel9:1.14.3-1748529279Fixed 2025-06-02RHSA-2025:8385
Red Hat Enterprise Linux 10opensshNot affected
Red Hat Enterprise Linux 6opensshOut of support scope
Red Hat Enterprise Linux 7opensshOut of support scope
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-26465.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-202-04Siemens SIDIS Secured SmartPlug2026-07-14Critical ManufacturingSIDIS Secured SmartPlug < V7.26.0310none listed
ICSA-25-162-05Siemens SIMATIC S7-1500 CPU family2025-06-10EnergySIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON