Vulnerability in OpenBSD OpenSSH
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.)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.6 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.005, 40.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- OpenBSD OpenSSH — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- dgl/cve-2025-61984-poc (7 stars, last pushed 2025-10-07): PoC for OpenSSH ProxyCommand CVE-2025-61984
- flyskyfire/cve-2025-61984-poc (last pushed 2025-10-24): PoC for CVE-2025-61984
- ThanhCT-CyX/Test-CVE-2025-61984
Also mentioned in 3 other repositories (CrackerCat/feed, fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openwall.com/lists/oss-security/2025/10/06/1
- marc.info/
- www.openssh.com/releasenotes.html
- 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-exec…
- www.vicarius.io/vsociety/posts/cve-2025-61984-mitigation-script-remote-code-exe…
- dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984
- cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com/productcert/html/ssa-457936.html
This CVE has public exploit evidence. See the latest CVEs with public exploits.