CVE-2025-61984 json
ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain...
published last yr. modified 26d ago also EUVD-2025-32089 , GHSA-hh67-847q-q3h9 , JLSEC-2025-7
- cvss
- 3.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.)
Patch / fix
- julia OpenSSH_jll 10.1.1+0
- OpenBSD OpenSSH 10.1
- openssh Debian 12 1:9.2p1-2+deb12u8
- openssh Debian 13 1:10.0p1-7+deb13u1
- openssh Debian 14 1:10.1p1-1
debian advisories DEBIAN-CVE-2025-61984
- openssh Ubuntu 22.04 LTS 1:8.9p1-3ubuntu0.14
- openssh Ubuntu 24.04 LTS 1:9.6p1-3ubuntu13.15
- openssh Ubuntu 25.10 1:10.0p1-5ubuntu5.1
- openssh Ubuntu 26.04 LTS 1:10.2p1-2ubuntu1
- openssh Ubuntu Pro 20.04 LTS 1:8.2p1-4ubuntu0.13+esm1
- openssh Ubuntu Pro FIPS-updates 20.04 LTS 1:8.2p1-4ubuntu0.fips.0.13.1
- openssh Ubuntu Pro FIPS-updates 22.04 LTS 1:8.9p1-3ubuntu0.14+Fips1
- openssh Ubuntu Pro FIPS-updates 24.04 LTS 1:9.6p1-3ubuntu13.15+Fips1
ubuntu advisories UBUNTU-CVE-2025-61984
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssh hummingbird 1 10.2p1-9.hum1
- openssh-keycat hummingbird 1 10.2p1-9.hum1
- openssh-server hummingbird 1 10.2p1-9.hum1
- openssh-askpass hummingbird 1 10.2p1-9.hum1
- openssh-clients hummingbird 1 10.2p1-9.hum1
- openssh-keysign hummingbird 1 10.2p1-9.hum1
- openssh-sk-dummy hummingbird 1 10.2p1-9.hum1
- openssh RHEL 9 8.7p1-47.el9_7
red hat advisories RHSA-2026:5475RHSA-2026:1815RHSA-2026:1790RHSA-2026:1678RHSA-2026:0976RHSA-2026:0693
- openssh Linux Micro 6.1 9.6p1-slfo.1.1_3.1
- openssh SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 10.0p2-160000.3.1
- openssh-askpass-gnome SLES for SAP applications 16.0, SLES 16.0 10.0p2-160000.3.1
- openssh SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +15 more 8.4p1-150300.3.57.1
- openssh-askpass-gnome SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +9 more 8.4p1-150300.3.57.1
- openssh Linux Micro 6.0 9.6p1-4.1
- openssh SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 9.6p1-150600.6.34.1
- openssh-askpass-gnome SLE Module for Desktop Applications 15 SP7, SLE Module for Desktop Applications 15 SP6, openSUSE Leap 15.6 9.6p1-150600.6.34.1
suse advisories SUSE-SU-2026:20662-1SUSE-SU-2025:21128-1SUSE-SU-2025:21161-1SUSE-SU-2025:4112-1SUSE-SU-2025:21044-1SUSE-SU-2025:4098-1
- openssh openSUSE Leap 16.0 10.0p2-160000.3.1
- openssh-askpass-gnome openSUSE Leap 16.0 10.0p2-160000.3.1
opensuse advisories openSUSE-SU-2025:20122-1
- openssh AlmaLinux 10 9.9p1-12.el10_1.alma.1
- openssh-keycat AlmaLinux 10 9.9p1-12.el10_1.alma.1
- openssh-server AlmaLinux 10 9.9p1-12.el10_1.alma.1
- openssh-askpass AlmaLinux 10 9.9p1-12.el10_1.alma.1
- openssh-clients AlmaLinux 10 9.9p1-12.el10_1.alma.1
- openssh-keysign AlmaLinux 10 9.9p1-12.el10_1.alma.1
- openssh AlmaLinux 9 8.7p1-47.el9_7.alma.1
- openssh-keycat AlmaLinux 9 8.7p1-47.el9_7.alma.1
almalinux advisories ALSA-2025:23479ALSA-2025:23480ALSA-2025:23481
- openssh Rocky Linux 10 9.9p1-12.el10_1.rocky.0.1
- openssh Rocky Linux 9 8.7p1-47.el9_7.rocky.0.1
- openssh Rocky Linux 8 8.0p1-27.el8_10
rocky linux advisories RLSA-2025:23479RLSA-2025:23480RLSA-2025:23481
- openssh Alpine 3.22 10.0_p1-r10
- openssh Alpine 3.24, Alpine 3.23 10.1_p1-r0
alpine advisories ALPINE-CVE-2025-61984
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2025-61984 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-61984 updated cvss 5.3
openssh: OpenSSH: Control characters in usernames can lead to code execution via ProxyCommand
-
Red Hat Enterprise Linux 6 openssh, openssh-ldap, openssh-server, openssh-askpass, openssh-clients, pam_ssh_agent_authaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 openssh, openssh-cavs, openssh-ldap, openssh-keycat, openssh-server, openssh-askpass, +3 more Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: no fix available “Fix deferred”
-
Red Hat Ceph Storage 7 rhceph 1769508455fixed: vendor fix RHSA-2026:1858
-
Red Hat Ceph Storage 8 rhceph 1769512383fixed: vendor fix RHSA-2026:1652
-
Red Hat Discovery 2 discovery 1767888970fixed: vendor fix RHSA-2026:0414
-
Red Hat Enterprise Linux AppStream (v. 8) openssh-askpass 8.0p1-27.el8_10fixed: vendor fix RHSA-2025:23481
-
Red Hat Enterprise Linux AppStream (v. 9) openssh-askpass 8.7p1-47.el9_7, pam_ssh_agent_auth 0.10.4-5.47.el9_7fixed: vendor fix RHSA-2025:23480
-
Red Hat Enterprise Linux AppStream (v. 10) openssh-askpass 9.9p1-12.el10_1, openssh-keysign 9.9p1-12.el10_1fixed: vendor fix RHSA-2025:23479
show 16 moreshow fewer
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) openssh-askpass 8.7p1-13.el9_0.1, pam_ssh_agent_auth 0.10.4-4.13.el9_0.4fixed: vendor fix RHSA-2026:1790
-
Red Hat Enterprise Linux AppStream E4S (v.9.2) openssh-askpass 8.7p1-30.el9_2.9, pam_ssh_agent_auth 0.10.4-5.30.el9_2.9fixed: vendor fix RHSA-2026:1815
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) openssh-askpass 9.9p1-7.el10_0.1, openssh-keysign 9.9p1-7.el10_0.1fixed: vendor fix RHSA-2026:1678
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) openssh-askpass 8.7p1-38.el9_4.6, pam_ssh_agent_auth 0.10.4-5.38.el9_4.6fixed: vendor fix RHSA-2026:0976
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) openssh-askpass 8.7p1-45.el9_6.1, pam_ssh_agent_auth 0.10.4-5.45.el9_6fixed: vendor fix RHSA-2026:0693
-
Red Hat Enterprise Linux BaseOS (v. 8) openssh 8.0p1-27.el8_10, openssh-cavs 8.0p1-27.el8_10, openssh-ldap 8.0p1-27.el8_10, openssh-keycat 8.0p1-27.el8_10, openssh-server 8.0p1-27.el8_10, openssh-clients 8.0p1-27.el8_10, +1 morefixed: vendor fix RHSA-2025:23481
-
Red Hat Enterprise Linux BaseOS (v. 9) openssh 8.7p1-47.el9_7, openssh-keycat 8.7p1-47.el9_7, openssh-server 8.7p1-47.el9_7, openssh-clients 8.7p1-47.el9_7fixed: vendor fix RHSA-2025:23480
-
Red Hat Enterprise Linux BaseOS (v. 10) openssh 9.9p1-12.el10_1, openssh-keycat 9.9p1-12.el10_1, openssh-server 9.9p1-12.el10_1, openssh-clients 9.9p1-12.el10_1fixed: vendor fix RHSA-2025:23479
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) openssh 8.7p1-13.el9_0.1, openssh-keycat 8.7p1-13.el9_0.1, openssh-server 8.7p1-13.el9_0.1, openssh-clients 8.7p1-13.el9_0.1fixed: vendor fix RHSA-2026:1790
-
Red Hat Enterprise Linux BaseOS E4S (v.9.2) openssh 8.7p1-30.el9_2.9, openssh-keycat 8.7p1-30.el9_2.9, openssh-server 8.7p1-30.el9_2.9, openssh-clients 8.7p1-30.el9_2.9fixed: vendor fix RHSA-2026:1815
-
Red Hat Enterprise Linux BaseOS EUS (v. 10.0) openssh 9.9p1-7.el10_0.1, openssh-keycat 9.9p1-7.el10_0.1, openssh-server 9.9p1-7.el10_0.1, openssh-clients 9.9p1-7.el10_0.1fixed: vendor fix RHSA-2026:1678
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) openssh 8.7p1-38.el9_4.6, openssh-keycat 8.7p1-38.el9_4.6, openssh-server 8.7p1-38.el9_4.6, openssh-clients 8.7p1-38.el9_4.6fixed: vendor fix RHSA-2026:0976
-
Red Hat Enterprise Linux BaseOS EUS (v.9.6) openssh 8.7p1-45.el9_6.1, openssh-keycat 8.7p1-45.el9_6.1, openssh-server 8.7p1-45.el9_6.1, openssh-clients 8.7p1-45.el9_6.1fixed: vendor fix RHSA-2026:0693
-
Red Hat Hardened Images openssh 10.2p1-9.hum1, openssh-keycat 10.2p1-9.hum1, openssh-server 10.2p1-9.hum1, openssh-askpass 10.2p1-9.hum1, openssh-clients 10.2p1-9.hum1, openssh-keysign 10.2p1-9.hum1, +1 morefixed: vendor fix RHSA-2026:5475
-
Red Hat Update Infrastructure 5 rhui5 1768296285, rhui5 1768377012fixed: vendor fix RHSA-2026:0685
-
Red Hat Ceph Storage 7 rhceph 1769511650, rhceph 1769512818, rhceph 1769513068, rhceph 1769514555, rhceph 1769523636 Red Hat Ceph Storage 8 rhceph 1768902743, rhceph 1768903190, rhceph 1768903749, rhceph 1768907469, rhceph 1768915405 Red Hat Discovery 2 discovery 1767904573 Red Hat Update Infrastructure 5 rhui5 1768221100, rhui5 1768221107not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-295-11 updated cvss 3.6
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.7 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.7 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.7 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.7 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.7affected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-26-209-04 updated cvss 3.6
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.6 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.6 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.6 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.6 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.6affected: mitigation, no fix available
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.46% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- dgl.cx https://dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.6 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | 3.1 | 3.6 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | OpenSSH_jll | <10.1.1+0 |
10.1.1+0 |
Affected products
- OpenBSD OpenSSH
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
-
- CWE-159 Improper Handling of Invalid Use of Special Elements
References
-
dgl.cx
/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984
exploit, web
-
openwall.com
/lists/oss-security/2025/10/06/1
web
-
marc.info
/?l=openssh-unix-dev&m=175974522032149&w=2
web
-
openssh.com
/releasenotes.html#10.1p1
web
-
openwall.com
/lists/oss-security/2025/10/07/1
web
-
openwall.com
/lists/oss-security/2025/10/12/1
web
-
vicarius.io
/vsociety/posts/cve-2025-61984-detection-script-remote-code-execution-vulnerability-affecting-openssh
web
-
vicarius.io
/vsociety/posts/cve-2025-61984-mitigation-script-remote-code-execution-vulnerability-affecting-openssh
web
-
cert-portal.siemens.com
/productcert/html/ssa-019113.html
web
- cert-portal.siemens.com /productcert/html/ssa-457936.html
-
github.com
/advisories/GHSA-hh67-847q-q3h9
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-61984
web
Sources
- CVE List CVE-2025-61984
- NVD CVE-2025-61984
- OSV JLSEC-2025-7
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.