CVE Vulnerabilities

CVE-2025-26465

Detection of Error Condition Without Action

Published: Feb 18, 2025 | Modified: Nov 03, 2025
CVSS 3.x
6.8
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
6.8 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 clients memory resource first, turning the attack complexity high.

Weakness

The product detects a specific error, but takes no actions to handle the error.

Affected Software

NameVendorStart VersionEnd Version
OpensshOpenbsd6.9 (including)9.8 (including)
OpensshOpenbsd6.8-p1 (including)6.8-p1 (including)
OpensshOpenbsd9.9 (including)9.9 (including)
OpensshOpenbsd9.9-p1 (including)9.9-p1 (including)
Red Hat Enterprise Linux 8RedHatopenssh-0:8.0p1-26.el8_10*
Red Hat Enterprise Linux 8RedHatopenssh-0:8.0p1-26.el8_10*
Red Hat Enterprise Linux 9RedHatopenssh-0:8.7p1-45.el9*
Red Hat Enterprise Linux 9RedHatopenssh-0:8.7p1-45.el9*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatopenssh-0:8.7p1-38.el9_4.5*
Red Hat Discovery 1.14RedHatdiscovery/discovery-server-rhel9:sha256:ad1045aa0de937c3a6969ec377f7bfeda9a44ee434a954e8245e9840316ffc1c*
OpensshUbuntudevel*
OpensshUbuntuesm-infra/bionic*
OpensshUbuntuesm-infra/focal*
OpensshUbuntuesm-infra/xenial*
OpensshUbuntufips-preview/jammy*
OpensshUbuntufips-updates/bionic*
OpensshUbuntufips-updates/focal*
OpensshUbuntufips-updates/jammy*
OpensshUbuntufips-updates/noble*
OpensshUbuntufips-updates/xenial*
OpensshUbuntufips/bionic*
OpensshUbuntufips/focal*
OpensshUbuntufips/xenial*
OpensshUbuntufocal*
OpensshUbuntujammy*
OpensshUbuntunoble*
OpensshUbuntuoracular*
OpensshUbuntuplucky*
OpensshUbuntuquesting*
Openssh-ssh1Ubuntudevel*
Openssh-ssh1Ubuntuesm-apps/bionic*
Openssh-ssh1Ubuntuesm-apps/focal*
Openssh-ssh1Ubuntuesm-apps/jammy*
Openssh-ssh1Ubuntuesm-apps/noble*
Openssh-ssh1Ubuntufocal*
Openssh-ssh1Ubuntujammy*
Openssh-ssh1Ubuntunoble*
Openssh-ssh1Ubuntuoracular*
Openssh-ssh1Ubuntuplucky*
Openssh-ssh1Ubuntuquesting*
Openssh-ssh1Ubuntuupstream*

Potential Mitigations

References