Skip to content
OpenAdvisories
Low · 3.6 Public exploit CVE-2025-61984 EUVD-2025-32089GHSA-hh67-847q-q3h9

ssh in OpenSSH before 10.1 allows control characters in usernames that originate from certain possibly untrusted sources, potentially leadi…

Published Oct 6, 2025 · Updated Nov 10, 2026 · 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.)

Affected products

VendorProductAffectedFixed
OpenBSD OpenSSH < 10.1 10.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:10.1p1-1 —
Debian 13 openssh 1:10.0p1-7+deb13u1 —
Debian 12 openssh 1:9.2p1-2+deb12u8 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openssh-ssh1 No fix yet —
Ubuntu 26.04 LTS openssh 1:10.2p1-2ubuntu1 —
Ubuntu 26.04 LTS openssh-ssh1 No fix yet —
Ubuntu 25.10 openssh 1:10.0p1-5ubuntu5.1 —
Ubuntu 25.10 openssh-ssh1 No fix yet —
Ubuntu 24.04 LTS openssh 1:9.6p1-3ubuntu13.15 —
Ubuntu 24.04 LTS openssh-ssh1 No fix yet —
Ubuntu 22.04 LTS openssh 1:8.9p1-3ubuntu0.14 —
Ubuntu 22.04 LTS openssh-ssh1 No fix yet —
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS openssh-ssh1 No fix yet —
Ubuntu 18.04 LTS openssh-ssh1 No fix yet —
Ubuntu Pro FIPS 20.04 LTS openssh No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssh No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-updates 24.04 LTS openssh 1:9.6p1-3ubuntu13.15+Fips1 —
Ubuntu Pro FIPS-updates 22.04 LTS openssh 1:8.9p1-3ubuntu0.14+Fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS openssh 1:8.2p1-4ubuntu0.fips.0.13.1 —
Ubuntu Pro FIPS-updates 18.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-updates 16.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-preview 22.04 LTS openssh No fix yet —
Ubuntu Pro 20.04 LTS openssh 1:8.2p1-4ubuntu0.13+esm1 —
Ubuntu Pro 18.04 LTS openssh No fix yet —
Ubuntu Pro 16.04 LTS openssh No fix yet —
Ubuntu Pro 14.04 LTS openssh No fix yet —
ReleasePackageFixed inAdvisory
RHEL 10 openssh +5 9.9p1-12.el10_1 RHSA-2025:23479
RHEL 9 openssh +4 8.7p1-47.el9_7 RHSA-2025:23480
RHEL 9 pam_ssh_agent_auth 0.10.4-5.47.el9_7 RHSA-2025:23480
RHEL 8 openssh +6 8.0p1-27.el8_10 RHSA-2025:23481
RHEL 8 pam_ssh_agent_auth 0.10.3-7.27.el8_10 RHSA-2025:23481
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 10.0 EUS openssh +5 9.9p1-7.el10_0.1 RHSA-2026:1678
RHEL 9.6 EUS openssh +4 8.7p1-45.el9_6.1 RHSA-2026:0693
RHEL 9.6 EUS pam_ssh_agent_auth 0.10.4-5.45.el9_6 RHSA-2026:0693
RHEL 9.4 EUS openssh +4 8.7p1-38.el9_4.6 RHSA-2026:0976
RHEL 9.4 EUS pam_ssh_agent_auth 0.10.4-5.38.el9_4.6 RHSA-2026:0976
RHEL 9.2 E4S openssh +4 8.7p1-30.el9_2.9 RHSA-2026:1815
RHEL 9.2 E4S pam_ssh_agent_auth 0.10.4-5.30.el9_2.9 RHSA-2026:1815
RHEL 9.0 E4S openssh +4 8.7p1-13.el9_0.1 RHSA-2026:1790
RHEL 9.0 E4S pam_ssh_agent_auth 0.10.4-4.13.el9_0.4 RHSA-2026:1790
Red Hat Hardened Images 1 openssh +6 10.2p1-9.hum1 RHSA-2026:5475

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 openssh +5 9.9p1-12.el10_1.alma.1 ALSA-2025:23479
AlmaLinux 9 openssh +4 8.7p1-47.el9_7.alma.1 ALSA-2025:23480
AlmaLinux 9 pam_ssh_agent_auth 0.10.4-5.47.el9_7.alma.1 ALSA-2025:23480
AlmaLinux 8 openssh +6 8.0p1-27.el8_10 ALSA-2025:23481
AlmaLinux 8 pam_ssh_agent_auth 0.10.3-7.27.el8_10 ALSA-2025:23481

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 openssh 9.9p1-12.el10_1.rocky.0.1 RLSA-2025:23479
Rocky Linux 9 openssh 8.7p1-47.el9_7.rocky.0.1 RLSA-2025:23480
Rocky Linux 8 openssh 8.0p1-27.el8_10 RLSA-2025:23481
ReleasePackageFixed inAdvisory
SLES 15 SP7 openssh +1 9.6p1-150600.6.34.1 SUSE-SU-2025:4067-1
SLES 15 SP6 openssh +1 9.6p1-150600.6.34.1 SUSE-SU-2025:4067-1
SLES 15 SP5 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLES 15 SP4 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLES 15 SP3 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
Show 19 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 openssh +1 7.2p2-81.34.1 SUSE-SU-2025:4097-1
SLES 12 SP5 openssh8.4 8.4p1-8.19.1 SUSE-SU-2025:4098-1
SLES for SAP 16.0 openssh +1 10.0p2-160000.3.1 SUSE-SU-2025:21161-1
SLES for SAP 15 SP5 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLES for SAP 15 SP4 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLES for SAP 15 SP3 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLES 16.0 openssh +1 10.0p2-160000.3.1 SUSE-SU-2025:21161-1
SLE Micro 6.2 openssh 10.0p2-160000.3.1 SUSE-SU-2025:21128-1
SLE Micro 6.1 openssh 9.6p1-slfo.1.1_3.1 SUSE-SU-2026:20662-1
SLE Micro 6.0 openssh 9.6p1-4.1 SUSE-SU-2025:21044-1
SLE Micro 5.5 openssh 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLE Micro 5.4 openssh 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLE Micro 5.3 openssh 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLE Micro 5.2 openssh 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLE HPC 15 SP5 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLE HPC 15 SP4 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SLE HPC 15 SP3 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SUSE Manager Server LTS 4.3 openssh 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SUSE Manager Proxy LTS 4.3 openssh 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
SUSE Enterprise Storage 7.1 openssh +1 8.4p1-150300.3.57.1 SUSE-SU-2025:4112-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 openssh +1 10.0p2-160000.3.1 openSUSE-SU-2025:20122-1
openSUSE Leap 15.6 openssh +1 9.6p1-150600.6.34.1 SUSE-SU-2025:4067-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssh 10.1_p1-r0 —
Alpine v3.23 openssh 10.1_p1-r0 —
Alpine v3.22 openssh 10.0_p1-r10 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssh +3 8.7p1-8.amzn2023.0.16 ALAS2023-2026-1441
Amazon Linux 2023 pam_ssh_agent_auth 0.10.4-4.8.amzn2023.0.16 ALAS2023-2026-1441
Amazon Linux 2 openssh +7 7.4p1-22.amzn2.0.11 ALAS2-2026-3175
Amazon Linux 2 pam_ssh_agent_auth 0.10.3-2.22.amzn2.0.11 ALAS2-2026-3175

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 openssh 9.8p1-5 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 openssh +5 9.9p1-12.0.1.el10_1 ELSA-2025-23479
Oracle Linux 9 openssh +4 8.7p1-47.0.1.el9_7 ELSA-2025-23480
Oracle Linux 9 pam_ssh_agent_auth 0.10.4-5.47.0.1.el9_7 ELSA-2025-23480
Oracle Linux 8 openssh +6 8.0p1-27.0.1.el8_10 ELSA-2025-23481
Oracle Linux 8 pam_ssh_agent_auth 0.10.3-7.27.0.1.el8_10 ELSA-2025-23481

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 38

References