# CVE-2025-61984: ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly untrusted sources, potentially leadi…

- Severity: Low 3.6 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-10-06T00:00:00.000Z
- Modified: 2026-11-10T13:17:56.410Z
- Weaknesses: CWE-159
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## 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.)

(As written by CVE List.)

## Affected

- OpenBSD OpenSSH: before 10.1

## References

- <https://dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984> (exploit)
- <https://www.openwall.com/lists/oss-security/2025/10/06/1>
- <https://marc.info/?l=openssh-unix-dev&m=175974522032149&w=2>
- <https://www.openssh.com/releasenotes.html#10.1p1>
- <http://www.openwall.com/lists/oss-security/2025/10/07/1>
- <http://www.openwall.com/lists/oss-security/2025/10/12/1>
- <https://www.vicarius.io/vsociety/posts/cve-2025-61984-detection-script-remote-code-execution-vulnerability-affecting-openssh>
- <https://www.vicarius.io/vsociety/posts/cve-2025-61984-mitigation-script-remote-code-execution-vulnerability-affecting-openssh>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2025-61984](https://www.cve.org/CVERecord?id=CVE-2025-61984), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2025-61984](https://nvd.nist.gov/vuln/detail/CVE-2025-61984), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2025-61984 · Whole record: https://cve.day/CVE-2025-61984.json · Rebuilt by cve.day 2026-11-25T22:59:05.581Z
