Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled (CVE-2025-26465)
Published Last modified Sources: Siemens ProductCERT, BSI, Ubuntu, Debian LTS, CVE.org, Msrc Update Guide, EUVD, Debian
What is affected, what to do
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.
Update Red Hat Enterprise Linux 8 to version 0:8.0p1-26.el8_10, Red Hat Enterprise Linux 9 to version 0:8.7p1-45.el9, Red Hat Enterprise Linux 9.4 Extended Update Support to version 0:8.7p1-38.el9_4.5.
- Affected
- OpenSSH
lte 6.8p1..9.9p1 - Red Hat Enterprise Linux 8
lt *..0:8.0p1-26.el8_10 - Red Hat Enterprise Linux 9
lt *..0:8.7p1-45.el9 - Red Hat Enterprise Linux 9.4 Extended Update Support
lt *..0:8.7p1-38.el9_4.5 - Red Hat Discovery 1.14
lt *..1.14.3-1748529279
- OpenSSH
- Fixed in
- Red Hat Enterprise Linux 8
0:8.0p1-26.el8_10 - Red Hat Enterprise Linux 9
0:8.7p1-45.el9 - Red Hat Enterprise Linux 9.4 Extended Update Support
0:8.7p1-38.el9_4.5 - Red Hat Discovery 1.14
1.14.3-1748529279
- Red Hat Enterprise Linux 8
Not sure whether and how you are affected? Ask a question about this vulnerability
Metrics
6.8
Priority
XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.
Source: NVD, CVSS v3
6.8
CVSS v3
Severity Medium on the scale from 0 to 10.
Source: Siemens ProductCERT, BSI, Ubuntu, Debian LTS, CVE.org, Msrc Update Guide, EUVD, Debian
7.7 %
EPSS score
Moderate — model estimates 1-10% exploitation likelihood.
Source: FIRST EPSS, percentile 94.6
Show all metrics
- Severity
- Medium
Priority (0–325)
The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?
Read in glossary- 113.50 Methodology
Exploit maturity
An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.
Read in glossary- no public PoC known
XIEM Effective CVSS
XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.
Read in glossary- 6.8 Methodology
CVSS v3
CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.
Read in glossary- 6.8
EPSS score
The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.
Read in glossary- 7.7 %
- Moderate — model estimates 1-10% exploitation likelihood.
EPSS percentile
The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.
Read in glossary- 94.6
- Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
KEV status
The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.
Read in glossary- —
- Published
CWE
CWE is a catalogue of typical weakness types in software and hardware — such as flawed input validation, unsafe memory handling or poor authentication. Where a CVE names a concrete vulnerability in a concrete product, a CWE describes the underlying class of defect.
Read in glossary- CWE-390
Detection rules
No NEOSEC detection rule is available for this vulnerability yet.
Classification under NIS2 and CRA
Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.
NIS2
NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.
Read in glossary- Handle the vulnerability in regular vulnerability handling under Art. 21(2)(e) NIS2.
CRA
The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.
Read in glossary- From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
ISO/IEC 27001
ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.
Read in glossary- Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.
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.
Source: siemens_advisory, BSI CSAF, BSI WID Portal, Ubuntu Security Notices, Debian LTS Advisories, cvelistv5, NVD (NIST), Microsoft Security Update Guide, CVE.org (MITRE), ENISA EUVD, Debian Security Advisories
Affected products
The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.
| Affected versions | Fixed in | ||
|---|---|---|---|
| — | OpenSSH |
|
|
| 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 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 OpenShift Container Platform 4 |
|
|
| netapp | active_iq_unified_manager |
|
|
| netapp | ontap |
|
|
| openbsd | openssh |
|
|
| redhat | openshift_container_platform |
|
|
| Dell | integrated Dell Remote Access Controller |
|
|
| Dell | NetWorker |
|
|
| Dell | PowerProtect Data Domain |
|
|
| Dell | PowerScale OneFS |
|
|
| Dell | PowerScale OneFS OneFS |
|
|
| Dell | Secure Connect Gateway |
|
|
| Fortinet | FortiAnalyzer |
|
|
| Fortinet | FortiManager |
|
|
| HPE | HP-UX |
|
|
| IBM | AIX |
|
|
| IBM | Security Verify Access |
|
|
| IBM | VIOS |
|
|
| Meinberg | LANTIME |
|
|
| NetApp | Data ONTAP |
|
|
| Open Source | OpenSSH |
|
|
| OpenBSD | OpenBSD |
|
|
| QNAP | NAS |
|
|
Vendors and products
- Debian Debian Linux
- Debian Openssh
- Dell Integrated Dell Remote Access Controller
- Dell Dell NetWorker
- Dell Powerprotect Data Domain
- Dell Powerscale Onefs
- Dell Powerscale Onefs Onefs
- Dell Secure Connect Gateway
- Fortinet Fortinet FortiAnalyzer
- Fortinet Fortinet FortiManager
- Hewlett Packard Enterprise (HPE) Hp-ux
- IBM IBM AIX
Affected operating systems
| Linux | debian | debian_linux | 11.0 |
| Linux | debian | debian_linux | 12.0 |
| Linux | redhat | enterprise_linux | 9.0 |
| Linux | debian | openssh | bookworm |
| Linux | debian | openssh | bullseye |
| Linux | ubuntu | openssh | focal |
| Linux | ubuntu | openssh | jammy |
| Linux | ubuntu | openssh | noble |
| Linux | ubuntu | openssh | oracular |
Weakness classes (CWE)
CWE-390Detection of Error Condition Without Action
Base
The product detects a specific error, but takes no actions to handle the error.
Entry at MITRE CWE-390
References & sources
- access.redhat.comRHSA-2025:16823Vendor advisory, x_refsource_REDHAT
- access.redhat.comRHSA-2025:3837Vendor advisory, x_refsource_REDHAT
- access.redhat.comRHSA-2025:6993Vendor advisory, x_refsource_REDHAT
- access.redhat.comRHSA-2025:8385Vendor advisory, x_refsource_REDHAT
- access.redhat.comsecurity/cve/CVE-2025-26465Vulnerability database, x_refsource_REDHAT, Third-party advisory
- access.redhat.comsolutions/7109879
- bugzilla.redhat.comRHBZ#2344780Issue tracking, x_refsource_REDHAT, Issue tracking, Third-party advisory
- seclists.orgoss-sec/2025/q1/144Mailing list, Third-party advisory
- lists.debian.orgdebian-lts-announce/2025/02/msg00020.htmlThird-party advisory
- openwall.comlists/oss-security/2025/02/18/1Mailing list, Third-party advisory
- openwall.comlists/oss-security/2025/02/18/4Mailing list, Third-party advisory
- theregister.com2025/02/18/openssh_vulnerabilities_mitm_dosPress coverage
- bugzilla.suse.comshow_bug.cgi?id=1237040Issue tracking
- security-tracker.debian.orgtracker/CVE-2025-26465Third-party advisory
- ftp.openbsd.orgpub/OpenBSD/patches/7.6/common/008_ssh.patch.sigPatch
- ubuntu.comsecurity/CVE-2025-26465Third-party advisory
- openssh.comreleasenotes.htmlRelease notes
- blog.qualys.comvulnerabilities-threat-research/2025/02/18/qualys-tru-discovers…Third-party advisory
- lists.mindrot.orgpipermail/openssh-unix-announce/2025-February/000161.htmlThird-party advisory
- security.netapp.comadvisory/ntap-20250228-0003Third-party advisory
Changes to this CVE
Who changed this CVE and when: NVD (analysis, affected products, CVSS), the CVE publisher (CNA) and additional providers such as CISA (ADP).
Record modifiedRed Hat
1 individual change: Affected versions (publisher)
Show the original change
Individual changes of this event as published by NVD Type Action Before After Affected versions (publisher) added —Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/26xxx/CVE-2025-26465.json">CVE-2025-26465</a>Source identifier: secalert@redhat.com
Record modifiedRed Hat
Show 20 original changes
Individual changes of this event as published by NVD Type Action Before After Affected versions (publisher) added —Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/26xxx/CVE-2025-26465.json">CVE-2025-26465</a>Reference added —https://access.redhat.com/errata/RHSA-2025:16823Reference added —https://access.redhat.com/errata/RHSA-2025:3837Reference added —https://access.redhat.com/errata/RHSA-2025:6993Reference added —https://access.redhat.com/errata/RHSA-2025:8385Reference added —https://access.redhat.com/security/cve/CVE-2025-26465Reference added —https://access.redhat.com/solutions/7109879Reference added —https://bugzilla.redhat.com/show_bug.cgi?id=2344780Reference added —https://seclists.org/oss-sec/2025/q1/144Reference removed https://access.redhat.com/errata/RHSA-2025:16823—Reference removed https://access.redhat.com/errata/RHSA-2025:3837—Reference removed https://access.redhat.com/errata/RHSA-2025:6993—Reference removed https://access.redhat.com/errata/RHSA-2025:8385—Reference removed https://access.redhat.com/security/cve/CVE-2025-26465—Reference removed https://access.redhat.com/solutions/7109879—Reference removed https://bugzilla.redhat.com/show_bug.cgi?id=2344780—Reference removed https://seclists.org/oss-sec/2025/q1/144—Reference type removed https://access.redhat.com/security/cve/CVE-2025-26465 Types: Third Party Advisory—Reference type removed https://bugzilla.redhat.com/show_bug.cgi?id=2344780 Types: Issue Tracking, Third Party Advisory—Reference type removed https://seclists.org/oss-sec/2025/q1/144 Types: Mailing List, Third Party Advisory—Source identifier: secalert@redhat.com
Record modifiedCISA ADP
New references:Show 3 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://seclists.org/oss-sec/2025/q1/144Reference removed https://seclists.org/oss-sec/2025/q1/144—Reference type removed https://seclists.org/oss-sec/2025/q1/144 Types: Mailing List, Third Party Advisory—Source identifier: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Record modifiedCVE Program
New references:- 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
and 8 more references
Show 48 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —http://seclists.org/fulldisclosure/2025/Feb/18Reference added —http://seclists.org/fulldisclosure/2025/May/7Reference added —http://seclists.org/fulldisclosure/2025/May/8Reference added —https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-two-vulnerabilities-in-openssh-cve-2025-26465-cve-2025-26466Reference added —https://bugzilla.suse.com/show_bug.cgi?id=1237040Reference added —https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sigReference added —https://lists.debian.org/debian-lts-announce/2025/02/msg00020.htmlReference added —https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.htmlReference added —https://security-tracker.debian.org/tracker/CVE-2025-26465Reference added —https://security.netapp.com/advisory/ntap-20250228-0003/Reference added —https://ubuntu.com/security/CVE-2025-26465Reference added —https://www.openssh.com/releasenotes.html#9.9p2Reference added —https://www.openwall.com/lists/oss-security/2025/02/18/1Reference added —https://www.openwall.com/lists/oss-security/2025/02/18/4Reference added —https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/Reference added —https://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-opensshReference added —https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-opensshReference removed http://seclists.org/fulldisclosure/2025/Feb/18—Reference removed http://seclists.org/fulldisclosure/2025/May/7—Reference removed http://seclists.org/fulldisclosure/2025/May/8—Reference removed https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-two-vulnerabilities-in-openssh-cve-2025-26465-cve-2025-26466—Reference removed https://bugzilla.suse.com/show_bug.cgi?id=1237040—Reference removed https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig—Reference removed https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html—Reference removed https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html—Reference removed https://security-tracker.debian.org/tracker/CVE-2025-26465—Reference removed https://security.netapp.com/advisory/ntap-20250228-0003/—Reference removed https://ubuntu.com/security/CVE-2025-26465—Reference removed https://www.openssh.com/releasenotes.html#9.9p2—Reference removed https://www.openwall.com/lists/oss-security/2025/02/18/1—Reference removed https://www.openwall.com/lists/oss-security/2025/02/18/4—Reference removed https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/—Reference removed https://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-openssh—Reference removed https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-openssh—Reference type removed https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-two-vulnerabilities-in-openssh-cve-2025-26465-cve-2025-26466 Types: Third Party Advisory—Reference type removed https://bugzilla.suse.com/show_bug.cgi?id=1237040 Types: Issue Tracking—Reference type removed https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig Types: Patch—Reference type removed https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html Types: Third Party Advisory—Reference type removed https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html Types: Third Party Advisory—Reference type removed https://security-tracker.debian.org/tracker/CVE-2025-26465 Types: Third Party Advisory—Reference type removed https://security.netapp.com/advisory/ntap-20250228-0003/ Types: Third Party Advisory—Reference type removed https://ubuntu.com/security/CVE-2025-26465 Types: Third Party Advisory—Reference type removed https://www.openssh.com/releasenotes.html#9.9p2 Types: Release Notes—Reference type removed https://www.openwall.com/lists/oss-security/2025/02/18/1 Types: Mailing List, Third Party Advisory—Reference type removed https://www.openwall.com/lists/oss-security/2025/02/18/4 Types: Mailing List, Third Party Advisory—Reference type removed https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/ Types: Press/Media Coverage—Reference type removed https://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-openssh Types: Third Party Advisory—Reference type removed https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-openssh Types: Mitigation, Third Party Advisory—Source identifier: af854a3a-2127-422b-91ae-364da2661108
Record modifiedSiemens ADP
Show 4 original changes
Individual changes of this event as published by NVD Type Action Before After Reference added —https://cert-portal.siemens.com/productcert/html/ssa-082556.htmlReference added —https://cert-portal.siemens.com/productcert/html/ssa-585531.htmlReference removed https://cert-portal.siemens.com/productcert/html/ssa-082556.html—Reference removed https://cert-portal.siemens.com/productcert/html/ssa-585531.html—Source identifier: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Embed badge
Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.
<a href="https://intel.neosec.eu/en/cve/CVE-2025-26465"><img src="https://intel.neosec.eu/badge/cve/CVE-2025-26465.svg?lang=en" alt="CVE-2025-26465 – NEOSEC Intel" height="20"></a>