CVE-2025-61985: Medium severity OpenSSH OpenSSH vulnerability
ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI, potentially leading to code execution when a ProxyCommand is used.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/opensshto a version that resolves this vulnerability.Fixed in 1:9.2p1-2+deb12u8 - Upgrade
Upgrade
debian/opensshto a version that resolves this vulnerability.Fixed in 1:10.0p1-7+deb13u1 - Upgrade
Upgrade
debian/opensshto a version that resolves this vulnerability.Fixed in 1:10.1p1-1 - Upgrade
Upgrade
debian/opensshto a version that resolves this vulnerability.Fixed in 1:9.2p1-2+deb12u10Fixed in 1:9.2p1-2+deb12u9Fixed in 1:10.0p1-7+deb13u4Fixed in 1:10.0p1-7+deb13u2Fixed in 1:10.6p2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-61985?
CVE-2025-61985 is classified as a high severity vulnerability due to the potential for code execution.
How do I fix CVE-2025-61985?
To fix CVE-2025-61985, upgrade OpenSSH to version 10.1 or later.
What does CVE-2025-61985 affect?
CVE-2025-61985 affects OpenSSH versions prior to 10.1, specifically regarding the handling of '\0' characters in ssh:// URIs.
Can CVE-2025-61985 lead to remote code execution?
Yes, CVE-2025-61985 can lead to remote code execution when using a ProxyCommand with vulnerable versions of OpenSSH.
Is CVE-2025-61985 a local or remote vulnerability?
CVE-2025-61985 is primarily considered a remote vulnerability due to exploitation through crafted ssh:// URIs.