CVE-2025-61984 ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly untrusted sources, potentially leading to code execution when a ProxyCommand is used. The untrust...
LowCVSS 3.6
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
Description
ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly untrusted sources, potentially leading to code execution when a ProxyCommand is used. The untrusted sources are the command line and %-sequence expansion of a configuration file. (A configuration file that provides a complete literal username is not categorized as an untrusted source.)
Upgrade path
20 packages: 11 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | >= V3.1.6; >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | >= V3.1.6; >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | >= V3.1.6; >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | >= V3.1.6; >= V3.1.7 | No fix listed | No fix yet |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | >= V3.1.6; >= V3.1.7 | No fix listed | No fix yet |
| ubuntu/openssh-ssh1(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/openssh-ssh1(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/openssh-ssh1(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/openssh-ssh1(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/openssh(Alpine v3.22) | < 10.0_p1-r10 | 10.0_p1-r10 | Fixed |
| alpine/openssh(Alpine v3.23) | < 10.1_p1-r0 | 10.1_p1-r0 | Fixed |
| alpine/openssh(Alpine v3.24) | < 10.1_p1-r0 | 10.1_p1-r0 | Fixed |
| azure linux openssh(Azure Linux 3.0) | < 9.8p1-5 | 9.8p1-5 | Fixed |
| debian/openssh(Debian 12) | < 1:9.2p1-2+deb12u8; = 1:9.2p1-2; = 1:9.2p1-2+deb12u1; = 1:9.2p1-2+deb12u2 +5 more | 1:9.2p1-2+deb12u8 | Fixed |
| debian/openssh(Debian 13) | < 1:10.0p1-7+deb13u1; = 1:10.0p1-7 | 1:10.0p1-7+deb13u1 | Fixed |
| debian/openssh(Debian 14) | < 1:10.1p1-1; = 1:10.0p1-7; = 1:10.0p1-8 | 1:10.1p1-1 | Fixed |
| OpenBSD openssh | < 10.1 | 10.1 | Fixed |
| ubuntu/openssh(Ubuntu 22.04) | < 1:8.9p1-3ubuntu0.14 | 1:8.9p1-3ubuntu0.14 | Fixed |
| ubuntu/openssh(Ubuntu 24.04) | < 1:9.6p1-3ubuntu13.15 | 1:9.6p1-3ubuntu13.15 | Fixed |
| ubuntu/openssh(Ubuntu 26.04) | < 1:10.2p1-2ubuntu1 | 1:10.2p1-2ubuntu1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux openssh(Azure Linux:3.0) | < 9.8p1-5 | 9.8p1-5 |
| 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 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | >= V3.1.6 | No fix listed |
Show 11 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-61984 vendor-advisory
- www.openwall.com
- marc.info
- www.openssh.com
- dgl.cx exploit
- www.openwall.com
- www.openwall.com
- www.vicarius.io
- www.vicarius.io
- cert-portal.siemens.com
- cert-portal.siemens.com
- Ubuntu CVE tracker vendor-advisory
- USN-8090-1 vendor-advisory
- USN-8090-2 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2025-32089 third-party-advisory