CVE-2025-61984
LowVulnerability 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.)
CVSS Metrics
Common Vulnerability Scoring System
Vector String:
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
CPUAPR2026
Oracle Critical Patch Update Advisory - April 2026
USN-8090-2
USN-8090-2: OpenSSH vulnerabilities
USN-8090-1
USN-8090-1: OpenSSH vulnerabilities
2025-Oct-CVE-2025-61984
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 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.)
CVE-2025-61984
CVE-2025-61984
References & Resources
-
https://marc.info/?l=openssh-unix-dev&m=175974522032149&w=2cve@mitre.org
-
https://www.openssh.com/releasenotes.html#10.1p1cve@mitre.org
-
https://www.openwall.com/lists/oss-security/2025/10/06/1cve@mitre.org
-
http://www.openwall.com/lists/oss-security/2025/10/07/1af854a3a-2127-422b-91ae-364da2661108
-
http://www.openwall.com/lists/oss-security/2025/10/12/1af854a3a-2127-422b-91ae-364da2661108
-
https://www.vicarius.io/vsociety/posts/cve-2025-61984-detection-script-remote-code-execution-vulnerability-affecting-opensshaf854a3a-2127-422b-91ae-364da2661108
-
https://www.vicarius.io/vsociety/posts/cve-2025-61984-mitigation-script-remote-code-execution-vulnerability-affecting-opensshaf854a3a-2127-422b-91ae-364da2661108
-
https://dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984134c704f-9b21-4f2e-91b3-4a467353bcc0
Severity Details
Weakness Type (CWE)
Improper Handling of Invalid Use of Special Elements
- Description
- The product does not properly filter, remove, quote, or otherwise manage the invalid use of special elements in user-controlled input, which could cause adverse effect on its behavior and integrity.
- Typical Severity
- Medium
- Abstraction Level
- Class
Key Information
- Published Date
- October 06, 2025
