CVE-2025-61984
published low CVSS 3.1 · 3.6openssh: OpenSSH: Control characters in usernames can lead to code execution via ProxyCommand
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenBSD | — | OpenSSH0 to < 10.1 · Other versions: unaffected | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3175 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1441 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | openssh | Advisory build | 9.9p1-12.el10_1.alma.1 | ALSA-2025:23479 |
| Alpine Linux | edge | openssh | Fixed | 10.1_p1-r0 | Package fix record |
Show 105 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.6 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)V3.1.7 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Debian | bullseye | openssh | Advisory build | 1:8.4p1-5+deb11u7 | DLA-4584-1 |
| Oracle Linux | 10 | opensshaarch64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Red Hat Enterprise Linux | RHEL-10 | opensshaarch64 | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| AlmaLinux | 10 | openssh-askpass | Advisory build | 9.9p1-12.el10_1.alma.1 | ALSA-2025:23479 |
| AlmaLinux | 10 | openssh-clients | Advisory build | 9.9p1-12.el10_1.alma.1 | ALSA-2025:23479 |
| AlmaLinux | 10 | openssh-keycat | Advisory build | 9.9p1-12.el10_1.alma.1 | ALSA-2025:23479 |
| AlmaLinux | 10 | openssh-keysign | Advisory build | 9.9p1-12.el10_1.alma.1 | ALSA-2025:23479 |
| AlmaLinux | 10 | openssh-server | Advisory build | 9.9p1-12.el10_1.alma.1 | ALSA-2025:23479 |
| AlmaLinux | 8 | openssh | Advisory build | 8.0p1-27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 8 | openssh-askpass | Advisory build | 8.0p1-27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 8 | openssh-cavs | Advisory build | 8.0p1-27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 8 | openssh-clients | Advisory build | 8.0p1-27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 8 | openssh-keycat | Advisory build | 8.0p1-27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 8 | openssh-ldap | Advisory build | 8.0p1-27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 8 | openssh-server | Advisory build | 8.0p1-27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 8 | pam_ssh_agent_auth | Advisory build | 0.10.3-7.27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 9 | openssh | Advisory build | 8.7p1-47.el9_7.alma.1 | ALSA-2025:23480 |
| AlmaLinux | 9 | openssh-askpass | Advisory build | 8.7p1-47.el9_7.alma.1 | ALSA-2025:23480 |
| AlmaLinux | 9 | openssh-clients | Advisory build | 8.7p1-47.el9_7.alma.1 | ALSA-2025:23480 |
| AlmaLinux | 9 | openssh-keycat | Advisory build | 8.7p1-47.el9_7.alma.1 | ALSA-2025:23480 |
| AlmaLinux | 9 | openssh-server | Advisory build | 8.7p1-47.el9_7.alma.1 | ALSA-2025:23480 |
| AlmaLinux | 9 | pam_ssh_agent_auth | Advisory build | 0.10.4-5.47.el9_7.alma.1 | ALSA-2025:23480 |
| Alpine Linux | v3.22 | openssh | Fixed | 10.0_p1-r10 | Package fix record |
| Alpine Linux | v3.23 | openssh | Fixed | 10.1_p1-r0 | Package fix record |
| Alpine Linux | v3.24 | openssh | Fixed | 10.1_p1-r0 | Package fix record |
| Oracle Linux | 10 | opensshx86_64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-askpassaarch64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-askpassx86_64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-clientsaarch64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-clientsx86_64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-keycataarch64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-keycatx86_64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-keysignaarch64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-keysignx86_64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-serveraarch64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 10 | openssh-serverx86_64 | Advisory build | 0:9.9p1-12.0.1.el10_1 | ELSA-2025-23479 |
| Oracle Linux | 8 | opensshaarch64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | opensshx86_64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-askpassaarch64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-askpassx86_64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-cavsaarch64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-cavsx86_64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-clientsaarch64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-clientsx86_64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-keycataarch64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-keycatx86_64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-ldapaarch64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-ldapx86_64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-serveraarch64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | openssh-serverx86_64 | Advisory build | 0:8.0p1-27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | pam_ssh_agent_authaarch64 | Advisory build | 0:0.10.3-7.27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 8 | pam_ssh_agent_authx86_64 | Advisory build | 0:0.10.3-7.27.0.1.el8_10 | ELSA-2025-23481 |
| Oracle Linux | 9 | opensshaarch64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | opensshx86_64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | openssh-askpassaarch64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | openssh-askpassx86_64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | openssh-clientsaarch64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | openssh-clientsx86_64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | openssh-keycataarch64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | openssh-keycatx86_64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | openssh-serveraarch64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | openssh-serverx86_64 | Advisory build | 0:8.7p1-47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | pam_ssh_agent_authaarch64 | Advisory build | 0:0.10.4-5.47.0.1.el9_7 | ELSA-2025-23480 |
| Oracle Linux | 9 | pam_ssh_agent_authx86_64 | Advisory build | 0:0.10.4-5.47.0.1.el9_7 | ELSA-2025-23480 |
| Red Hat Enterprise Linux | RHEL-10 | opensshaarch64 | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | opensshppc64le | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | opensshppc64le | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | opensshs390x | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | opensshs390x | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | opensshsrc | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | opensshsrc | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | opensshx86_64 | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | opensshx86_64 | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpassaarch64 | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpassaarch64 | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpassppc64le | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpassppc64le | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpasss390x | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpasss390x | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpassx86_64 | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpassx86_64 | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpass-debuginfoaarch64 | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpass-debuginfoaarch64 | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpass-debuginfoppc64le | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpass-debuginfoppc64le | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpass-debuginfos390x | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpass-debuginfos390x | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpass-debuginfox86_64 | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-askpass-debuginfox86_64 | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-clientsaarch64 | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-clientsaarch64 | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-clientsppc64le | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-clientsppc64le | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-clientss390x | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-clientss390x | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-clientsx86_64 | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-clientsx86_64 | Advisory build | 9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat Enterprise Linux | RHEL-10 | openssh-clients-debuginfoaarch64 | Advisory build | 9.9p1-12.el10_1 | RHSA-2025:23479 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.)
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.6 / 10
- Severity
- low
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenBSD | OpenSSH | 0 to < 10.1 (affected · custom)Default: unaffected | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | V3.1.6 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | V3.1.7 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-159 CWE-159 Improper Handling of Invalid Use of Special Elements
References
10- http://www.openwall.com/lists/oss-security/2025/10/07/1
- http://www.openwall.com/lists/oss-security/2025/10/12/1
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
- https://dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984
- https://marc.info/?l=openssh-unix-dev&m=175974522032149&w=2
- https://www.openssh.com/releasenotes.html#10.1p1
- https://www.openwall.com/lists/oss-security/2025/10/06/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
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- de5a16a2b555ccae041f2edfabf36e134f75f4873e9997c0adfe2249d312961a
- Ingested
- 10 Nov 2026, 12:46:15 UTC
- Source record
- Official CVE record