CVEfocus › CVE database › CVE-2025-26466

CVE-2025-26466Openssh: denial-of-service in openssh

CVSS 5.9 MediumEPSS 8.0% (higher than 96% of CVEs)Published 2025-02-28Updated 2026-11-24Assigner: redhat

A flaw was found in the OpenSSH package. For each ping packet the SSH server receives, a pong packet is allocated in a memory buffer and stored in a queue of packages. It is only freed when the server/client key exchange has finished. A malicious client may keep sending such packages, leading to an uncontrolled increase in memory consumption on the server side. Consequently, the server may become unavailable, resulting in a denial of service attack.

CWE-770

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
27Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04opensshFixed1:9.6p1-3ubuntu13.8UBUNTU-CVE-2025-26466
Ubuntu 24.04openssh-ssh1Not affected
vulnerable_code_not_present
Ubuntu 22.04opensshNot affected
vulnerable_code_not_present
Ubuntu 22.04openssh-ssh1Not affected
vulnerable_code_not_present
Ubuntu 20.04openssh-ssh1Not affected
vulnerable_code_not_present
Debian 14opensshFixed1:9.9p2-1DEBIAN-CVE-2025-26466
Debian 13opensshFixed1:9.9p2-1DEBIAN-CVE-2025-26466
Red Hat Enterprise Linux 10opensshFixed0:9.9p1-7.el10_0RHBA-2025:6305
Red Hat Enterprise Linux 10openssh-askpassFixed0:9.9p1-7.el10_0RHBA-2025:6305
Red Hat Enterprise Linux 10openssh-clientsFixed0:9.9p1-7.el10_0RHBA-2025:6305
Red Hat Enterprise Linux 10openssh-keycatFixed0:9.9p1-7.el10_0RHBA-2025:6305
Red Hat Enterprise Linux 10openssh-keysignFixed0:9.9p1-7.el10_0RHBA-2025:6305
Red Hat Enterprise Linux 10openssh-serverFixed0:9.9p1-7.el10_0RHBA-2025:6305
Red Hat Enterprise Linux 9opensshFixed0:8.7p1-45.el9RHSA-2025:6993
Red Hat Enterprise Linux 9openssh-askpassFixed0:8.7p1-45.el9RHSA-2025:6993
Red Hat Enterprise Linux 9openssh-clientsFixed0:8.7p1-45.el9RHSA-2025:6993
Red Hat Enterprise Linux 9openssh-keycatFixed0:8.7p1-45.el9RHSA-2025:6993
Red Hat Enterprise Linux 9openssh-serverFixed0:8.7p1-45.el9RHSA-2025:6993
Red Hat Enterprise Linux 9pam_ssh_agent_authFixed0:0.10.4-5.45.el9RHSA-2025:6993
Red Hat Enterprise Linux 8opensshNot affected
Red Hat Enterprise Linux 8openssh-askpassNot affected
Red Hat Enterprise Linux 8openssh-cavsNot affected
Red Hat Enterprise Linux 8openssh-clientsNot affected
Red Hat Enterprise Linux 8openssh-keycatNot affected
Red Hat Enterprise Linux 8openssh-ldapNot affected
Red Hat Enterprise Linux 8openssh-serverNot affected
Red Hat Enterprise Linux 8pam_ssh_agent_authNot affected
Red Hat Enterprise Linux 7opensshNot affected
Red Hat Enterprise Linux 7openssh-askpassNot affected
Red Hat Enterprise Linux 7openssh-cavsNot affected
Red Hat Enterprise Linux 7openssh-clientsNot affected
Red Hat Enterprise Linux 7openssh-keycatNot affected
Red Hat Enterprise Linux 7openssh-ldapNot affected
Red Hat Enterprise Linux 7openssh-serverNot affected
Red Hat Enterprise Linux 7openssh-server-sysvinitNot affected
Red Hat Enterprise Linux 7pam_ssh_agent_authNot affected
Red Hat Enterprise Linux 6opensshNot affected
Red Hat Enterprise Linux 6openssh-askpassNot affected
Red Hat Enterprise Linux 6openssh-clientsNot affected
Red Hat Enterprise Linux 6openssh-ldapNot affected
Red Hat Enterprise Linux 6openssh-serverNot affected
Red Hat Enterprise Linux 6pam_ssh_agent_authNot affected
Alpine Linux 3.24opensshFixed9.9_p2-r0ALPINE-CVE-2025-26466
Alpine Linux 3.23opensshFixed9.9_p2-r0ALPINE-CVE-2025-26466
Alpine Linux 3.22opensshFixed9.9_p2-r0ALPINE-CVE-2025-26466
Alpine Linux 3.21opensshFixed9.9_p2-r0ALPINE-CVE-2025-26466
Alpine Linux 3.20opensshFixed9.7_p1-r5ALPINE-CVE-2025-26466
Alpine Linux 3.19opensshFixed9.6_p1-r2ALPINE-CVE-2025-26466

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: This issue can be mitigated by setting the following three different options in the sshd configuration file located at: /etc/ssh/sshd_config MaxStartups: Set to a reasonable value, this option controls the maximum number of concurrent unauthenticated connections the SSH server accepts; PerSourcePenalties: Set its suboptions to a reasonable value, this option is used to help sshd to detect and drop connections that are potentially malicious for the SSH server; LoginGraceTime: Set to a resonable value, this option controls how much time the SSH server will wait the client to authenticate before dropping its connection; All the three option above needs to be set to implement a full mitigation for this vulnerability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.