PortGate

Advisories · Linux & SSH

CVE-2025-26466 Medium CVSS 5.9

OpenSSH sshd pre-auth resource exhaustion

Disclosed 2025 · Last reviewed 2 Dec 2026

An unauthenticated client could make sshd spend memory and CPU on ping packets before login.

What happened

sshd answered SSH2_MSG_PING during the pre-authentication phase without a tight quota.

Affected and patched versions

Affected
OpenSSH sshd 9.5p1 through 9.9p1.
Patched
OpenSSH 9.9p2 and later. PerSourcePenalties on affected builds reduces the impact.

How to check your server

Check

sshd -V

How to fix and harden

  1. Upgrade OpenSSH to 9.9p2 or later.
  2. On a build you cannot upgrade today, PerSourcePenalties limits how much one source can consume. It is not a substitute for the upgrade.

Fix

sshd -V

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON