{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-26465","id":"CVE-2025-26465","title":"Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled","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 re","descriptionLong":"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.","published":"2025-02-18T18:27:16.843Z","updated":"2026-11-17T07:02:00.648603656Z","reserved":"2025-02-10T18:31:47.978Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat.com"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["OpenSSH","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Enterprise Linux 9.4 Extended Update Support","Red Hat Discovery 1.14","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat OpenShift Container Platform 4"],"affectedProducts":[{"vendor":"","product":"OpenSSH","defaultStatus":"unaffected","versions":[{"status":"affected","version":"6.8p1","versionType":"custom","lessThanOrEqual":"9.9p1"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","defaultStatus":"affected","versions":[{"version":"0:8.0p1-26.el8_10","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","defaultStatus":"affected","versions":[{"version":"0:8.0p1-26.el8_10","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:8.7p1-45.el9","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","defaultStatus":"affected","versions":[{"version":"0:8.7p1-45.el9","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.4 Extended Update Support","defaultStatus":"affected","versions":[{"version":"0:8.7p1-38.el9_4.5","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Discovery 1.14","defaultStatus":"affected","versions":[{"version":"1.14.3-1748529279","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","defaultStatus":"unknown","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","defaultStatus":"unknown","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","defaultStatus":"affected","versions":[],"platforms":[]}],"packages":[],"cwes":["CWE-390"],"aliases":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:16823","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2025:3837","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2025:6993","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2025:8385","tags":["vendor-advisory","x_refsource_REDHAT","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-26465","tags":["vdb-entry","x_refsource_REDHAT","Third Party Advisory","advisory"]},{"url":"https://access.redhat.com/solutions/7109879","tags":["web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2344780","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Third Party Advisory","report"]},{"url":"https://seclists.org/oss-sec/2025/q1/144","tags":["exploit","Mailing List","Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00020.html","tags":["Third Party Advisory","web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/02/18/1","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://www.openwall.com/lists/oss-security/2025/02/18/4","tags":["Mailing List","Third Party Advisory","web"]},{"url":"https://www.theregister.com/2025/02/18/openssh_vulnerabilities_mitm_dos/","tags":["Press/Media Coverage","web"]},{"url":"https://bugzilla.suse.com/show_bug.cgi?id=1237040","tags":["Issue Tracking","report"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-26465","tags":["Third Party Advisory","web"]},{"url":"https://ftp.openbsd.org/pub/OpenBSD/patches/7.6/common/008_ssh.patch.sig","tags":["Patch","web"]},{"url":"https://ubuntu.com/security/CVE-2025-26465","tags":["Third Party Advisory","web"]},{"url":"https://www.openssh.com/releasenotes.html#9.9p2","tags":["Release Notes","web"]},{"url":"https://blog.qualys.com/vulnerabilities-threat-research/2025/02/18/qualys-tru-discovers-two-vulnerabilities-in-openssh-cve-2025-26465-cve-2025-26466","tags":["Third Party Advisory","article"]},{"url":"https://lists.mindrot.org/pipermail/openssh-unix-announce/2025-February/000161.html","tags":["Third Party Advisory","web"]},{"url":"https://security.netapp.com/advisory/ntap-20250228-0003/","tags":["Third Party Advisory","advisory"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-26465-detect-vulnerable-openssh","tags":["Third Party Advisory","web"]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-26465-mitigate-vulnerable-openssh","tags":["Mitigation","Third Party Advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2025/May/8","tags":["web"]},{"url":"http://seclists.org/fulldisclosure/2025/May/7","tags":["web"]},{"url":"http://seclists.org/fulldisclosure/2025/Feb/18","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-585531.html","tags":["web"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://catalog.redhat.com/software/containers/","tags":["web"]},{"url":"https://www.openssh.com/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/26xxx/CVE-2025-26465.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26465","tags":["advisory"]},{"url":"https://anongit.mindrot.org/openssh.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.07723,"epssPercentile":0.94738,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-26465","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-26465","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-26465","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-26465","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["openssh"],"critical":[],"attention":null}