CVE-2025-26466
Openssh: denial-of-service in openssh
Mitigation
- Vendor 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.
Who should check
- Anyone running OpenSSH >= 9.5p1, <= 9.9p1
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 9 all versions
- Anyone running Red Hat Enterprise Linux 6 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 7 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 8 (versions: see the vendor advisory)
- Anyone running Red Hat OpenShift Container Platform 4 (versions: see the vendor advisory)
Vulnerability facts
- Affected
- OpenSSH >= 9.5p1, <= 9.9p1; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat OpenShift Container Platform 4; Red Hat OpenShift Container Platform 4
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 8.02% chance of exploitation in 30 days (percentile 96, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| OpenSSH | >= 9.5p1, <= 9.9p1 | — | cvelist |
| Red Hat Enterprise Linux 10 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | all versions | — | cvelist |
| Red Hat Enterprise Linux 9 | all versions | — | cvelist |
| Red Hat Enterprise Linux 6 | — | — | cvelist |
| Red Hat Enterprise Linux 7 | — | — | cvelist |
| Red Hat Enterprise Linux 8 | — | — | cvelist |
| Red Hat OpenShift Container Platform 4 | — | — | cvelist |
| Red Hat OpenShift Container Platform 4 | — | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-26466. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-26466.md Affected: OpenSSH >= 9.5p1, <= 9.9p1; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat OpenShift Container Platform 4; Red Hat OpenShift Conta… Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for OpenSSH, 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: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
Other
- 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://security.netapp.com/advisory/ntap-20250228-0002/
- https://www.openwall.com/lists/oss-security/2025/02/18/1
- https://www.openwall.com/lists/oss-security/2025/02/18/4
- https://bugzilla.suse.com/show_bug.cgi?id=1237041
- https://security-tracker.debian.org/tracker/CVE-2025-26466
- https://ubuntu.com/security/CVE-2025-26466
- http://seclists.org/fulldisclosure/2025/May/8
- http://seclists.org/fulldisclosure/2025/May/7
- http://seclists.org/fulldisclosure/2025/Feb/18
- https://www.vicarius.io/vsociety/posts/cve-2025-26466-detection-script-memory-consumption-vulnerability-in-openssh
- https://www.vicarius.io/vsociety/posts/cve-2025-26466-mitigation-script-memory-consumption-vulnerability-in-openssh
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
FAQ
Is CVE-2025-26466 being exploited?
There is no confirmed exploitation: CVE-2025-26466 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 8.02% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-26466?
Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-26466?
OpenSSH >= 9.5p1, <= 9.9p1; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat OpenShift Container Platform 4; Red Hat OpenShift Container Platform 4.
Is there a fix for CVE-2025-26466?
No fixed version is listed in the sources yet. Vendor 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.
How do I check if I'm affected by CVE-2025-26466?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.