CVE-2025-26465

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.

Affected Software

VendorProductVersion RangeStatus
6.8p1 <= 9.9p1affected
Red HatRed Hat Enterprise Linux 80:8.0p1-26.el8_10 < *unaffected
Red HatRed Hat Enterprise Linux 80:8.0p1-26.el8_10 < *unaffected
Red HatRed Hat Enterprise Linux 90:8.7p1-45.el9 < *unaffected
Red HatRed Hat Enterprise Linux 90:8.7p1-45.el9 < *unaffected
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support0:8.7p1-38.el9_4.5 < *unaffected
Red HatRed Hat Discovery 1.14sha256:f33991d766b618a128fb99fbe4f9b61c5004f7c6aa73b2b38e28d59e56c64d63 < *unaffected

Weaknesses

  • CWE-390: Detection of Error Condition Without Action

Workarounds

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.

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: no
    • Technical Impact: total

Additional References

Additional References

References