CVE-2025-26466Openssh: denial-of-service in openssh
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | openssh | Fixed | 1:9.6p1-3ubuntu13.8 | UBUNTU-CVE-2025-26466 |
| Ubuntu 24.04 | openssh-ssh1 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openssh | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | openssh-ssh1 | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | openssh-ssh1 | Not affected vulnerable_code_not_present | ||
| Debian 14 | openssh | Fixed | 1:9.9p2-1 | DEBIAN-CVE-2025-26466 |
| Debian 13 | openssh | Fixed | 1:9.9p2-1 | DEBIAN-CVE-2025-26466 |
| Red Hat Enterprise Linux 10 | openssh | Fixed | 0:9.9p1-7.el10_0 | RHBA-2025:6305 |
| Red Hat Enterprise Linux 10 | openssh-askpass | Fixed | 0:9.9p1-7.el10_0 | RHBA-2025:6305 |
| Red Hat Enterprise Linux 10 | openssh-clients | Fixed | 0:9.9p1-7.el10_0 | RHBA-2025:6305 |
| Red Hat Enterprise Linux 10 | openssh-keycat | Fixed | 0:9.9p1-7.el10_0 | RHBA-2025:6305 |
| Red Hat Enterprise Linux 10 | openssh-keysign | Fixed | 0:9.9p1-7.el10_0 | RHBA-2025:6305 |
| Red Hat Enterprise Linux 10 | openssh-server | Fixed | 0:9.9p1-7.el10_0 | RHBA-2025:6305 |
| Red Hat Enterprise Linux 9 | openssh | Fixed | 0:8.7p1-45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux 9 | openssh-askpass | Fixed | 0:8.7p1-45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux 9 | openssh-clients | Fixed | 0:8.7p1-45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux 9 | openssh-keycat | Fixed | 0:8.7p1-45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux 9 | openssh-server | Fixed | 0:8.7p1-45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux 9 | pam_ssh_agent_auth | Fixed | 0:0.10.4-5.45.el9 | RHSA-2025:6993 |
| Red Hat Enterprise Linux 8 | openssh | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-cavs | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-keycat | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-ldap | Not affected | ||
| Red Hat Enterprise Linux 8 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 8 | pam_ssh_agent_auth | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-cavs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-keycat | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-ldap | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 7 | openssh-server-sysvinit | Not affected | ||
| Red Hat Enterprise Linux 7 | pam_ssh_agent_auth | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-askpass | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-clients | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-ldap | Not affected | ||
| Red Hat Enterprise Linux 6 | openssh-server | Not affected | ||
| Red Hat Enterprise Linux 6 | pam_ssh_agent_auth | Not affected | ||
| Alpine Linux 3.24 | openssh | Fixed | 9.9_p2-r0 | ALPINE-CVE-2025-26466 |
| Alpine Linux 3.23 | openssh | Fixed | 9.9_p2-r0 | ALPINE-CVE-2025-26466 |
| Alpine Linux 3.22 | openssh | Fixed | 9.9_p2-r0 | ALPINE-CVE-2025-26466 |
| Alpine Linux 3.21 | openssh | Fixed | 9.9_p2-r0 | ALPINE-CVE-2025-26466 |
| Alpine Linux 3.20 | openssh | Fixed | 9.7_p1-r5 | ALPINE-CVE-2025-26466 |
| Alpine Linux 3.19 | openssh | Fixed | 9.6_p1-r2 | ALPINE-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.
- OpenSSH: affected: 9.5p1 to 9.9p1
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4
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:
- https://access.redhat.com/errata/RHBA-2025:6305 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:6993 (vendor-advisory)
References
- https://access.redhat.com/errata/RHBA-2025:6305
- https://access.redhat.com/errata/RHSA-2025:6993
- https://access.redhat.com/security/cve/CVE-2025-26466
- https://bugzilla.redhat.com/show_bug.cgi?id=2345043
- https://seclists.org/oss-sec/2025/q1/144
- https://www.qualys.com/2025/02/18/openssh-mitm-dos.txt
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.