OpenSSH 8.5 P1 vulnerabilities
40 published vulnerabilities affect OpenSSH 8.5 P1, 1 of them known to be exploited in the wild.
What to upgrade to
The newest OpenSSH release we know of is 10.6 P2, with no known CVEs.
| Upgrade to | Fixes | Still open | New in that release |
|---|---|---|---|
| 10.6 P2newest release | all 401 exploited, 2 critical | none | none |
"Fixes": CVEs on this page that don't affect that release. "New in that release": CVEs that affect it and not this one.
CVEs affecting OpenSSH 8.5 P1
Worst first: ranked by Dawnsentry's score for a device that faces the internet (CVSS, plus known exploitation and EPSS). "Fixed in" is the first release that carries the fix, where the source names one.
| CVE | CVSS | Exploitation | EPSS | Fixed in |
|---|---|---|---|---|
| CVE-2026-123158sshd in OpenSSH before 10.6p2 on Linux, when musl libc is used without PAM, lacks a workaround for a password authentication bypass (related to… | 8.1 | Exploited | 90% | 10.6 P2CVE record |
| CVE-2023-38408The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if an agent is… | 9.8 | None known | 80% | –NVD |
| CVE-2024-6387Openssh: regresshion - race condition in ssh allows rce/dos | 8.1 | Proof of concept | 100% | –NVD |
| CVE-2026-60002ssh in OpenSSH before 10.4 can have a use-after-free when a server changes its host key during a key re-exchange | 9.4 | None known | under 1% | 10.4CVE record |
| CVE-2026-35414OpenSSH before 10.3 mishandles the authorized_keys principals option in uncommon scenarios involving a principals list in conjunction with a Certificate… | 8.1 | None known | under 1% | 10.3CVE record |
| CVE-2026-35386In OpenSSH before 10.3, command execution can occur via shell metacharacters in a username within a command line | 8.1 | None known | under 1% | 10.3CVE record |
| CVE-2026-35385In OpenSSH before 10.3, a file downloaded by scp may be installed setuid or setgid, an outcome contrary to some users' expectations, if the download is… | 8.1 | None known | under 1% | 10.3CVE record |
| CVE-2026-106583In ssh in OpenSSH before 10.6, a $ or \ character can occur in a command-line username, leading to injection | 7.8 | None known | under 1% | 10.6CVE record |
| CVE-2023-48795Impact of Terrapin SSH Attack | 5.9 | Proof of concept | 94% | 9.6NVD |
| CVE-2026-106555In sshd in OpenSSH before 10.6, GSSAPIAuthentication authentication state can incorrectly be persisted across authentication attempts | 7.5 | None known | under 1% | 10.6CVE record |
| CVE-2026-106553In sshd in OpenSSH before 10.6, credentials can incorrectly persist after failure of a GSSAPIAuthentication authentication attempt | 7.5 | None known | under 1% | 10.6CVE record |
| CVE-2026-60000sshd in OpenSSH before 10.4 allows remote attackers to cause a denial of service (resource consumption from excessive authentication attempts) because… | 7.5 | None known | under 1% | 10.4CVE record |
| CVE-2026-59999In sshd in OpenSSH before 10.4, DisableForwarding=yes was supposed to take precedence over PermitTunnel=yes, but did not | 7.5 | None known | under 1% | 10.4CVE record |
| CVE-2025-26465Openssh: machine-in-the-middle attack if verifyhostkeydns is enabled | 6.8 | Proof of concept | 5% | –NVD |
| CVE-2023-51385Authenticated Remote Command Execution in the AOS-CX SSH Daemon | 6.5 | Proof of concept | 20% | 9.6NVD |
| CVE-2021-41617Informational: Impact of the OpenSSH Vulnerability CVE-2021-41617 on PAN-OS | 7.0 | None known | 1% | 8.8NVD |
| CVE-2026-106585In sshd and ssh in OpenSSH before 10.6, there is no check for whether the maximum packet length is exceeded during decompression of highly compressed data | 6.5 | None known | under 1% | 10.6CVE record |
| CVE-2026-106552In sftp in OpenSSH before 10.6, a server can trigger directory traversal (causing files to be written to unintended locations) during a recursive copy operation | 6.5 | None known | under 1% | 10.6CVE record |
| CVE-2026-60001sshd in OpenSSH before 10.4 does not always honor the minimum authentication delay | 6.5 | None known | under 1% | 10.4CVE record |
| CVE-2026-59998sshd in OpenSSH before 10.4 has an undocumented security-relevant behavior: GSSAPIStrictAcceptorCheck has no value if the server is in Windows Active Directory | 6.5 | None known | under 1% | 10.4CVE record |
| CVE-2026-35387Vulnerability in the AOS-CX SSH Daemon | 6.5 | None known | under 1% | 10.3CVE record |
| CVE-2020-14145The client side in OpenSSH 5.7 through 8.4 has an Observable Discrepancy leading to an information leak in the algorithm negotiation | 5.9 | None known | 3% | –NVD |
| CVE-2026-59997internal-sftp in sshd in OpenSSH before 10.4 recognizes only the first 9 command-line arguments, which can be important if a later command-line argument would… | 5.4 | None known | under 1% | 10.4CVE record |
| CVE-2026-59996scp in OpenSSH before 10.4 may place a file in the parent directory of an intended directory when the copy occurs between two remote destinations | 5.4 | None known | under 1% | 10.4CVE record |
| CVE-2026-59995sftp in OpenSSH before 10.4 does not properly constrain the location of downloaded files when "sftp server:/path ." is used with an attacker-controlled server | 5.4 | None known | under 1% | 10.4CVE record |
| CVE-2016-20012OpenSSH through 8.7 allows remote attackers, who have a suspicion that a certain combination of username and public key is known to an SSH server, to test… | 5.3 | None known | 5% | –NVD |
| CVE-2026-73282In ssh in OpenSSH before 10.5, a use-after-free for realloc data can occur if a certain pair of remote-forwarding operations are concurrent | 4.8 | None known | under 1% | 10.5CVE record |
| CVE-2026-106586In sshd in OpenSSH before 10.6, the restrict keyword (in authorized_keys) was supposed to be applicable to tunnel forwarding but was not, a different… | 4.3 | None known | under 1% | 10.6CVE record |
| CVE-2025-61984ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly untrusted sources, potentially leading to code execution… | 3.6 | Proof of concept | under 1% | 10.1CVE record |
| CVE-2026-106582In sshd and ssh in OpenSSH before 10.6, an LZ77 dictionary coder can be used even though this is contraindicated by the arXiv 2609.07709 "Crossing the Streams"… | 3.7 | None known | under 1% | 10.6CVE record |
| CVE-2025-32728In sshd in OpenSSH before 10.0, the DisableForwarding directive does not adhere to the documentation stating that it disables X11 and agent forwarding | 3.8 | None known | under 1% | 10.0CVE record |
| CVE-2021-36368An issue was discovered in OpenSSH before 8.9 | 3.7 | None known | 2% | 8.9NVD |
| CVE-2025-61985ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI, potentially leading to code execution when a ProxyCommand is used | 3.6 | None known | under 1% | 10.1CVE record |
| CVE-2026-73281In ssh-agent in OpenSSH before 10.5, some operations can occur remotely but were intended to occur only locally, including operations that add tokens or use… | 3.5 | None known | under 1% | 10.5CVE record |
| CVE-2026-106587In sshd in OpenSSH before 10.6, the value "none" for a configuration option is sometimes interpreted as a filename but was intended to mean that a feature is… | 3.3 | None known | under 1% | 10.6CVE record |
| CVE-2026-106584In ssh-keygen in OpenSSH before 10.6, certificates could have incorrect expiration times because of Daylight Saving mishandling | 3.3 | None known | under 1% | 10.6CVE record |
| CVE-2026-106588In sshd in OpenSSH through 10.6, use of the macOS 27 (or later) SDK has the side effect of loss of sandboxing, which is potentially unexpected | 3.1 | None known | under 1% | –CVE record |
| CVE-2026-106589In sshd in OpenSSH through 10.6, in certain environments such as QNX 6 and SCO OpenServer 5, sshd-session can unexpectedly have root privileges | 2.9 | None known | under 1% | –CVE record |
| CVE-2026-73283In sshd in OpenSSH before 10.5, the restrict keyword (in authorized_keys) was supposed to be applicable to tunnel forwarding but was not | 2.5 | None known | under 1% | 10.5CVE record |
| CVE-2026-35388OpenSSH before 10.3 omits connection multiplexing confirmation for proxy-mode multiplexing sessions | 2.5 | None known | under 1% | 10.3CVE record |
Compared with 8.5
1 CVE affects 8.5 P1 and not 8.5: CVE-2024-6387.
Other OpenSSH 8.5 releases
How this list is made
These are the CVEs Dawnsentry matches to each OpenSSH version, with the same engine its customers use. Where the vendor publishes its own advisory, that decides whether a version is affected, down to hotfix level; otherwise the CVE record and NVD's version data decide. CVSS comes from NVD or the reporting organisation, exploitation from CISA's Known Exploited Vulnerabilities catalogue, CISA's ratings, Metasploit and Nuclei, and EPSS (the probability of exploitation in the next 30 days) from FIRST. The list is rebuilt every day. Always confirm against the vendor's advisory before you act on it.
Updated 2 December 2026.