Skip to content

CVE-2025-61985 ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI, potentially leading to code execution when a ProxyCommand is used.

LowCVSS 3.6 EPSS 0.13%
Published
Updated
Exploit status
No public exploit known

Description

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 products

ProductAffected versionsFixed in
azure linux openssh(Azure Linux:3.0) < 9.8p1-5 9.8p1-5
cbl-mariner openssh(CBL-Mariner:2.0) < 8.9p1-9 8.9p1-9
debian/openssh(Debian:12) < 1:9.2p1-2+deb12u8 1:9.2p1-2+deb12u8
debian/openssh(Debian:12) = 1:9.2p1-2 No fix listed
debian/openssh(Debian:12) = 1:9.2p1-2+deb12u1 No fix listed
debian/openssh(Debian:12) = 1:9.2p1-2+deb12u2 No fix listed
debian/openssh(Debian:12) = 1:9.2p1-2+deb12u3 No fix listed
debian/openssh(Debian:12) = 1:9.2p1-2+deb12u4 No fix listed
debian/openssh(Debian:12) = 1:9.2p1-2+deb12u5 No fix listed
debian/openssh(Debian:12) = 1:9.2p1-2+deb12u6 No fix listed
debian/openssh(Debian:12) = 1:9.2p1-2+deb12u7 No fix listed
debian/openssh(Debian:13) < 1:10.0p1-7+deb13u1 1:10.0p1-7+deb13u1
debian/openssh(Debian:13) = 1:10.0p1-7 No fix listed
debian/openssh(Debian:14) < 1:10.1p1-1 1:10.1p1-1
debian/openssh(Debian:14) = 1:10.0p1-7 No fix listed
debian/openssh(Debian:14) = 1:10.0p1-8 No fix listed
OpenBSD openssh < 10.1 10.1
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.6 No fix listed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7 No fix listed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.6 No fix listed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.6 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= V3.1.6 No fix listed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= V3.1.7 No fix listed
Show 12 more
ProductAffected versionsFixed in
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= V3.1.6 No fix listed
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= V3.1.7 No fix listed
ubuntu/openssh(Ubuntu:22.04) < 1:8.9p1-3ubuntu0.14 1:8.9p1-3ubuntu0.14
ubuntu/openssh-ssh1(Ubuntu:22.04) All versions No fix listed
alpine/openssh(Alpine:v3.22) < 10.0_p1-r10 10.0_p1-r10
alpine/openssh(Alpine:v3.23) < 10.1_p1-r0 10.1_p1-r0
alpine/openssh(Alpine:v3.24) < 10.1_p1-r0 10.1_p1-r0
ubuntu/openssh(Ubuntu:24.04) < 1:9.6p1-3ubuntu13.15 1:9.6p1-3ubuntu13.15
ubuntu/openssh-ssh1(Ubuntu:24.04) All versions No fix listed
ubuntu/openssh(Ubuntu:26.04) < 1:10.2p1-2ubuntu1 1:10.2p1-2ubuntu1
ubuntu/openssh-ssh1(Ubuntu:26.04) All versions No fix listed
ubuntu/openssh-ssh1(Ubuntu:26.10) All versions No fix listed

References