CVE-2025-61984
ssh in OpenSSH before 10.1 allows control characters in usernames …
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.)
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- marc.info/?l=openssh-unix-dev&m=175974522032149&w=2
- www.openssh.com/releasenotes.html#10.1p1
- www.openwall.com/lists/oss-security/2025/10/06/1
- www.openwall.com/lists/oss-security/2025/10/07/1
- www.openwall.com/lists/oss-security/2025/10/12/1
- www.vicarius.io/vsociety/posts/cve-2025-61984-detection-script-remote-code-execution-vulne
- www.vicarius.io/vsociety/posts/cve-2025-61984-mitigation-script-remote-code-execution-vuln
- dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984
- nvd.nist.gov/vuln/detail/CVE-2025-61984
- cve.org/CVERecord?id=CVE-2025-61984
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.