{"schemaVersion":3,"id":"CVE-2025-61984","aliases":["ALPINE-CVE-2025-61984","SUSE-SU-2025:4097-1","UBUNTU-CVE-2025-61984","DEBIAN-CVE-2025-61984"],"status":"published","duplicateOf":null,"title":null,"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.)","dates":{"published":"2025-10-06T00:00:00.000Z","modified":"2026-10-15T01:09:29.598Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.6,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":2.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":2.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":2.6,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.6,"severity":"low","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00452,"percentile":0.37955,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.16599999999999995,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00286},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00452,"percentile":0.37955}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00286,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00441,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00452,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00452,"percentile":0.37955}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_62F6B454A341D96F","name":"Exploit Reference (dgl.cx)","source":"reference","url":"https://dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-159","name":"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.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/159.html"}],"affected":[{"vendor":"alpine","product":"openssh","name":"openssh","label":"openssh","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/openssh","purlType":"apk","versions":[{"text":"< 10.0_p1-r10","noFixRecorded":false,"fixedIn":null},{"text":"< 10.1_p1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.0_p1-r10 | < 10.1_p1-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"openssh","name":"openssh","label":"openssh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/openssh","purlType":"deb","versions":[{"text":"< 1:9.2p1-2+deb12u8","noFixRecorded":false,"fixedIn":null},{"text":"< 1:10.0p1-7+deb13u1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:10.1p1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:9.2p1-2+deb12u8 | < 1:10.0p1-7+deb13u1 | < 1:10.1p1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"openssh","name":"openssh","label":"openssh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/openssh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 1:8.2p1-4ubuntu0.13+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:8.2p1-4ubuntu0.fips.0.13.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:8.9p1-3ubuntu0.14","noFixRecorded":false,"fixedIn":null},{"text":"< 1:8.9p1-3ubuntu0.14+Fips1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:9.6p1-3ubuntu13.15","noFixRecorded":false,"fixedIn":null},{"text":"< 1:9.6p1-3ubuntu13.15+Fips1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:10.0p1-5ubuntu5.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:10.2p1-2ubuntu1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 1:8.2p1-4ubuntu0.13+esm1 | < 1:8.2p1-4ubuntu0.fips.0.13.1 | < 1:8.9p1-3ubuntu0.14 | < 1:8.9p1-3ubuntu0.14+Fips1 | < 1:9.6p1-3ubuntu13.15 | < 1:9.6p1-3ubuntu13.15+Fips1 | < 1:10.0p1-5ubuntu5.1 | < 1:10.2p1-2ubuntu1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"openssh-ssh1","name":"openssh-ssh1","label":"openssh-ssh1","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/openssh-ssh1","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"openbsd","product":"openssh","name":"openssh","label":"openssh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 10.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 10.1","eol":null,"hubHref":"/vendor/openbsd/openssh"},{"vendor":"suse","product":"openssh-askpass-gnome&distro=SUSE Linux Enterprise Server 12 SP5-LTSS","name":"openssh-askpass-gnome","label":"openssh-askpass-gnome&distro=SUSE Linux Enterprise Server 12 SP5-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE Linux Enterprise Server 12 SP5-LTSS","purlType":"rpm","versions":[{"text":"< 7.2p2-81.34.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.2p2-81.34.1","eol":null,"hubHref":null},{"vendor":"suse","product":"openssh-askpass-gnome&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5","name":"openssh-askpass-gnome","label":"openssh-askpass-gnome&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/openssh-askpass-gnome&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5","purlType":"rpm","versions":[{"text":"< 7.2p2-81.34.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.2p2-81.34.1","eol":null,"hubHref":null},{"vendor":"suse","product":"openssh&distro=SUSE Linux Enterprise Server 12 SP5-LTSS","name":"openssh","label":"openssh&distro=SUSE Linux Enterprise Server 12 SP5-LTSS","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/openssh&distro=SUSE Linux Enterprise Server 12 SP5-LTSS","purlType":"rpm","versions":[{"text":"< 7.2p2-81.34.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.2p2-81.34.1","eol":null,"hubHref":null},{"vendor":"suse","product":"openssh&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5","name":"openssh","label":"openssh&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/openssh&distro=SUSE Linux Enterprise Server LTSS Extended Security 12 SP5","purlType":"rpm","versions":[{"text":"< 7.2p2-81.34.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.2p2-81.34.1","eol":null,"hubHref":null}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.openwall.com/lists/oss-security/2025/10/06/1","label":"www.openwall.com/lists/oss-security/2025/10/06/1","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://marc.info/?l=openssh-unix-dev&m=175974522032149&w=2","label":"marc.info?l=openssh-unix-dev&m=175974522032149&w=2","hostname":"marc.info","tags":["REPORT"]},{"url":"https://www.openssh.com/releasenotes.html#10.1p1","label":"www.openssh.com/releasenotes.html","hostname":"www.openssh.com","tags":["REPORT"]},{"url":"https://dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984","label":"dgl.cx/2025/10/bash-a-newline-ssh-proxycommand-cve-2025-61984","hostname":"dgl.cx","tags":["Exploit"]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/07/1","label":"www.openwall.com/lists/oss-security/2025/10/07/1","hostname":"www.openwall.com","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2025/10/12/1","label":"www.openwall.com/lists/oss-security/2025/10/12/1","hostname":"www.openwall.com","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-61984-detection-script-remote-code-execution-vulnerability-affecting-openssh","label":"www.vicarius.io/vsociety/…","hostname":"www.vicarius.io","tags":[]},{"url":"https://www.vicarius.io/vsociety/posts/cve-2025-61984-mitigation-script-remote-code-execution-vulnerability-affecting-openssh","label":"www.vicarius.io/vsociety/…","hostname":"www.vicarius.io","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","label":"cert-portal.siemens.com/productcert/html/ssa-019113.html","hostname":"cert-portal.siemens.com","tags":[]},{"url":"https://security.alpinelinux.org/vuln/CVE-2025-61984","label":"security.alpinelinux.org/vuln/CVE-2025-61984","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://www.suse.com/support/update/announcement/2025/suse-su-20254097-1/","label":"www.suse.com/support/update/announcement/2025/suse-su-20254097-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1251198","label":"bugzilla.suse.com/1251198","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2025-61984","label":"www.suse.com/security/cve/CVE-2025-61984","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-61984","label":"ubuntu.com/security/CVE-2025-61984","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-61984","label":"www.cve.org/CVERecord?id=CVE-2025-61984","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8090-1","label":"ubuntu.com/security/notices/USN-8090-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-8090-2","label":"ubuntu.com/security/notices/USN-8090-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-61984","label":"security-tracker.debian.org/tracker/CVE-2025-61984","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-61984","label":"nvd.nist.gov/vuln/detail/CVE-2025-61984","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","label":"cert-portal.siemens.com/productcert/html/ssa-457936.html","hostname":"cert-portal.siemens.com","tags":[]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0059","OPENSUSE-SU-2025:20122-1","RHSA-2025:23479","RHSA-2025:23480","RHSA-2025:23481","RHSA-2026:0693","RHSA-2026:0976","RHSA-2026:1678","RHSA-2026:1790","RHSA-2026:1815","RHSA-2026:5475","SUSE-SU-2025:21044-1","SUSE-SU-2025:21128-1","SUSE-SU-2025:21161-1","SUSE-SU-2025:4067-1","SUSE-SU-2025:4098-1","SUSE-SU-2025:4112-1","SUSE-SU-2026:20662-1"],"duplicates":[],"related":["OPENSUSE-SU-2025:20122-1","SUSE-SU-2025:21044-1","SUSE-SU-2025:21128-1","SUSE-SU-2025:21161-1","SUSE-SU-2025:4067-1","SUSE-SU-2025:4098-1","SUSE-SU-2025:4112-1","SUSE-SU-2026:20662-1","USN-8090-1","USN-8090-2"]},"timeline":[{"kind":"published","date":"2025-10-06T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-15T01:09:29.598Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":24,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:15:34.145Z","stale":false,"partial":false}}