CVEfocus › CVE database › CVE-2025-61984

CVE-2025-61984

CVSS 3.6 LowEPSS 0.2% (higher than 9% of CVEs)Published 2025-10-06Updated 2026-11-10Assigner: mitre

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

CWE-159

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

53Fixed
16Fix pending
10Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10openssh-ssh1Fix pendingUBUNTU-CVE-2025-61984
Ubuntu 26.04opensshFixed1:10.2p1-2ubuntu1UBUNTU-CVE-2025-61984
Ubuntu 26.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2025-61984
Ubuntu 25.10opensshFixed1:10.0p1-5ubuntu5.1UBUNTU-CVE-2025-61984
Ubuntu 25.10openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2025-61984
Ubuntu 24.04opensshFixed1:9.6p1-3ubuntu13.15UBUNTU-CVE-2025-61984
Ubuntu 24.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2025-61984
Ubuntu 22.04opensshFixed1:8.9p1-3ubuntu0.14UBUNTU-CVE-2025-61984
Ubuntu 22.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2025-61984
Ubuntu 20.04opensshFix pending1:8.2p1-4ubuntu0.13+esm1 (Ubuntu Pro)UBUNTU-CVE-2025-61984
Ubuntu 20.04openssh-ssh1Fix pendingUBUNTU-CVE-2025-61984
Ubuntu 18.04opensshFix pendingUBUNTU-CVE-2025-61984
Ubuntu 18.04openssh-ssh1Fix pendingUBUNTU-CVE-2025-61984
Ubuntu 16.04opensshFix pendingUBUNTU-CVE-2025-61984
Ubuntu 14.04opensshFix pendingUBUNTU-CVE-2025-61984
Debian 14opensshFixed1:10.1p1-1DEBIAN-CVE-2025-61984
Debian 13opensshFixed1:10.0p1-7+deb13u1DEBIAN-CVE-2025-61984
Debian 12opensshFixed1:9.2p1-2+deb12u8DEBIAN-CVE-2025-61984
Red Hat Enterprise Linux 10opensshFixed0:9.9p1-12.el10_1RHSA-2025:23479
Red Hat Enterprise Linux 10openssh-askpassFixed0:9.9p1-12.el10_1RHSA-2025:23479
Red Hat Enterprise Linux 10openssh-clientsFixed0:9.9p1-12.el10_1RHSA-2025:23479
Red Hat Enterprise Linux 10openssh-keycatFixed0:9.9p1-12.el10_1RHSA-2025:23479
Red Hat Enterprise Linux 10openssh-keysignFixed0:9.9p1-12.el10_1RHSA-2025:23479
Red Hat Enterprise Linux 10openssh-serverFixed0:9.9p1-12.el10_1RHSA-2025:23479
Red Hat Enterprise Linux 9opensshFixed0:8.7p1-47.el9_7RHSA-2025:23480
Red Hat Enterprise Linux 9openssh-askpassFixed0:8.7p1-47.el9_7RHSA-2025:23480
Red Hat Enterprise Linux 9openssh-clientsFixed0:8.7p1-47.el9_7RHSA-2025:23480
Red Hat Enterprise Linux 9openssh-keycatFixed0:8.7p1-47.el9_7RHSA-2025:23480
Red Hat Enterprise Linux 9openssh-serverFixed0:8.7p1-47.el9_7RHSA-2025:23480
Red Hat Enterprise Linux 9pam_ssh_agent_authFixed0:0.10.4-5.47.el9_7RHSA-2025:23480
Red Hat Enterprise Linux 8opensshFixed0:8.0p1-27.el8_10RHSA-2025:23481
Red Hat Enterprise Linux 8openssh-askpassFixed0:8.0p1-27.el8_10RHSA-2025:23481
Red Hat Enterprise Linux 8openssh-cavsFixed0:8.0p1-27.el8_10RHSA-2025:23481
Red Hat Enterprise Linux 8openssh-clientsFixed0:8.0p1-27.el8_10RHSA-2025:23481
Red Hat Enterprise Linux 8openssh-keycatFixed0:8.0p1-27.el8_10RHSA-2025:23481
Red Hat Enterprise Linux 8openssh-ldapFixed0:8.0p1-27.el8_10RHSA-2025:23481
Red Hat Enterprise Linux 8openssh-serverFixed0:8.0p1-27.el8_10RHSA-2025:23481
Red Hat Enterprise Linux 8pam_ssh_agent_authFixed0:0.10.3-7.27.el8_10RHSA-2025:23481
Red Hat Enterprise Linux 7opensshFix pending
Fix deferred
Red Hat Enterprise Linux 7openssh-askpassFix pending
Fix deferred
Red Hat Enterprise Linux 7openssh-cavsFix pending
Fix deferred
Red Hat Enterprise Linux 7openssh-clientsFix pending
Fix deferred
Red Hat Enterprise Linux 7openssh-keycatFix pending
Fix deferred
Red Hat Enterprise Linux 7openssh-ldapFix pending
Fix deferred
Red Hat Enterprise Linux 7openssh-serverFix pending
Fix deferred
Red Hat Enterprise Linux 7openssh-server-sysvinitFix pending
Fix deferred
Red Hat Enterprise Linux 7pam_ssh_agent_authFix pending
Fix deferred
Red Hat Enterprise Linux 6opensshWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-askpassWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 6pam_ssh_agent_authWill not fix
Out of support scope
AlmaLinux 10opensshFixed9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux 10openssh-askpassFixed9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux 10openssh-clientsFixed9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux 10openssh-keycatFixed9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux 10openssh-keysignFixed9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux 10openssh-serverFixed9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux 9opensshFixed8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux 9openssh-askpassFixed8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux 9openssh-clientsFixed8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux 9openssh-keycatFixed8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux 9openssh-serverFixed8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux 9pam_ssh_agent_authFixed0.10.4-5.47.el9_7.alma.1ALSA-2025:23480
AlmaLinux 8opensshFixed8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux 8openssh-askpassFixed8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux 8openssh-cavsFixed8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux 8openssh-clientsFixed8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux 8openssh-keycatFixed8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux 8openssh-ldapFixed8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux 8openssh-serverFixed8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux 8pam_ssh_agent_authFixed0.10.3-7.27.el8_10ALSA-2025:23481
Rocky Linux 10opensshFixed0:9.9p1-12.el10_1.rocky.0.1RLSA-2025:23479
Rocky Linux 9opensshFixed0:8.7p1-47.el9_7.rocky.0.1RLSA-2025:23480
Rocky Linux 8opensshFixed0:8.0p1-27.el8_10RLSA-2025:23481
Alpine Linux 3.24opensshFixed10.1_p1-r0ALPINE-CVE-2025-61984
Alpine Linux 3.23opensshFixed10.1_p1-r0ALPINE-CVE-2025-61984
Alpine Linux 3.22opensshFixed10.0_p1-r10ALPINE-CVE-2025-61984

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.