cve.bz

CVE-2025-61984 openbsd openssh

3.6 lowEPSS 0.5%

Low (3.6) in openbsd openssh. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.)

Severity

CVSS 3.1

3.6 low
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 41st percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-159 Improper Handling of Invalid Use of Special Elements
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
mitre (CNA)
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-61984 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61984?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61984?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-61984 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenBSD OpenSSHbefore 10.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12openssh1:9.2p1-2+deb12u8DEBIAN-CVE-2025-61984
Debian13openssh1:10.0p1-7+deb13u1DEBIAN-CVE-2025-61984
Debian14openssh1:10.1p1-1DEBIAN-CVE-2025-61984
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreopenssh-ssh1no fix listedUBUNTU-CVE-2025-61984
Ubuntu22.04:LTSopenssh1:8.9p1-3ubuntu0.14UBUNTU-CVE-2025-61984
Ubuntu24.04:LTSopenssh1:9.6p1-3ubuntu13.15UBUNTU-CVE-2025-61984
Ubuntu25.10openssh1:10.0p1-5ubuntu5.1UBUNTU-CVE-2025-61984
Ubuntu26.04:LTSopenssh1:10.2p1-2ubuntu1UBUNTU-CVE-2025-61984
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 6 moreopensshno fix listedUBUNTU-CVE-2025-61984
UbuntuPro:20.04:LTSopenssh1:8.2p1-4ubuntu0.13+esm1UBUNTU-CVE-2025-61984
UbuntuPro:FIPS-updates:20.04:LTSopenssh1:8.2p1-4ubuntu0.fips.0.13.1UBUNTU-CVE-2025-61984
UbuntuPro:FIPS-updates:22.04:LTSopenssh1:8.9p1-3ubuntu0.14+Fips1UBUNTU-CVE-2025-61984
UbuntuPro:FIPS-updates:24.04:LTSopenssh1:9.6p1-3ubuntu13.15+Fips1UBUNTU-CVE-2025-61984
Red Hatenterprise_linux:8::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 6 more0:8.0p1-27.el8_10RHSA-2025:23481
Red Hatenterprise_linux:8::appstreampam_ssh_agent_auth-debuginfo0:0.10.3-7.27.el8_10RHSA-2025:23481
Red Hatenterprise_linux:8::baseosopenssh, openssh-cavs, openssh-ldap and 11 more0:8.0p1-27.el8_10RHSA-2025:23481
Red Hatenterprise_linux:8::baseospam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.3-7.27.el8_10RHSA-2025:23481
Red Hatenterprise_linux:9::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more0:8.7p1-47.el9_7RHSA-2025:23480
Red Hatenterprise_linux:9::appstreampam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.4-5.47.el9_7RHSA-2025:23480
Red Hatenterprise_linux:9::baseosopenssh, openssh-keycat, openssh-server and 8 more0:8.7p1-47.el9_7RHSA-2025:23480
Red Hatenterprise_linux:9::baseospam_ssh_agent_auth-debuginfo0:0.10.4-5.47.el9_7RHSA-2025:23480
Red Hatenterprise_linux:10.1openssh, openssh-keycat, openssh-server and 11 more0:9.9p1-12.el10_1RHSA-2025:23479
Red Hatenterprise_linux_eus:10.0openssh, openssh-keycat, openssh-server and 11 more0:9.9p1-7.el10_0.1RHSA-2026:1678
Red Hathummingbird:1openssh, openssh-keycat, openssh-server and 4 more0:10.2p1-9.hum1RHSA-2026:5475
Red Hatrhel_e4s:9.0::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 4 more0:8.7p1-13.el9_0.1RHSA-2026:1790
15 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moreopenssh, openssh-askpass-gnome8.4p1-150300.3.57.1SUSE-SU-2025:4112-1
SUSELinux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 3 moreopenssh8.4p1-150300.3.57.1SUSE-SU-2025:4112-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7openssh9.6p1-150600.6.34.1SUSE-SU-2025:4067-1
SUSELinux Enterprise Module for Desktop Applications 15 SP6, Linux Enterprise Module for Desktop Applications 15 SP7openssh-askpass-gnome9.6p1-150600.6.34.1SUSE-SU-2025:4067-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5openssh, openssh-askpass-gnome7.2p2-81.34.1SUSE-SU-2025:4097-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5openssh8.48.4p1-8.19.1SUSE-SU-2025:4098-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0openssh, openssh-askpass-gnome10.0p2-160000.3.1SUSE-SU-2025:21161-1
SUSELinux Micro 6.0openssh9.6p1-4.1SUSE-SU-2025:21044-1
SUSELinux Micro 6.1openssh9.6p1-slfo.1.1_3.1SUSE-SU-2026:20662-1
SUSELinux Micro 6.2openssh10.0p2-160000.3.1SUSE-SU-2025:21128-1
openSUSELeap 15.6openssh, openssh-askpass-gnome9.6p1-150600.6.34.1SUSE-SU-2025:4067-1
openSUSELeap 16.0openssh, openssh-askpass-gnome10.0p2-160000.3.1openSUSE-SU-2025:20122-1
AlmaLinux8openssh, openssh-cavs, openssh-ldap and 4 more8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux8pam_ssh_agent_auth0.10.3-7.27.el8_10ALSA-2025:23481
AlmaLinux9openssh, openssh-keycat, openssh-server and 2 more8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux9pam_ssh_agent_auth0.10.4-5.47.el9_7.alma.1ALSA-2025:23480
AlmaLinux10openssh, openssh-keycat, openssh-server and 3 more9.9p1-12.el10_1.alma.1ALSA-2025:23479
Rocky Linux8openssh0:8.0p1-27.el8_10RLSA-2025:23481
Rocky Linux9openssh0:8.7p1-47.el9_7.rocky.0.1RLSA-2025:23480
Rocky Linux10openssh0:9.9p1-12.el10_1.rocky.0.1RLSA-2025:23479
Alpinev3.22openssh10.0_p1-r10ALPINE-CVE-2025-61984
Alpinev3.23, v3.24openssh10.1_p1-r0ALPINE-CVE-2025-61984
Azure Linux3openssh9.8p1-5AZL-68231
Alpaquita23openssh9.1_p1-r12BELL-CVE-2025-61984
Alpaquita25openssh10.0_p1-r10BELL-CVE-2025-61984
Alpaquitastreamopenssh10.1_p1-r0BELL-CVE-2025-61984
BellSoft Hardened Containers23openssh9.1_p1-r12BELL-CVE-2025-61984
BellSoft Hardened Containers25openssh10.0_p1-r10BELL-CVE-2025-61984
BellSoft Hardened Containersstreamopenssh10.1_p1-r0BELL-CVE-2025-61984

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The impact is MODERATE because it is a critical component used across many Red Hat products.

The issue occurs only when a ProxyCommand is configured and the SSH client handles a username containing control characters from an untrusted source, such as script-generated input or expanded configuration values.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10openssh-0:9.9p1-12.el10_1Fixed 2025-12-17RHSA-2025:23479
Red Hat Enterprise Linux 10.0 Extended Update Supportopenssh-0:9.9p1-7.el10_0.1Fixed 2026-02-02RHSA-2026:1678
Red Hat Enterprise Linux 8openssh-0:8.0p1-27.el8_10Fixed 2025-12-17RHSA-2025:23481
Red Hat Enterprise Linux 9openssh-0:8.7p1-47.el9_7Fixed 2025-12-17RHSA-2025:23480
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsopenssh-0:8.7p1-13.el9_0.1Fixed 2026-02-03RHSA-2026:1790
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsopenssh-0:8.7p1-30.el9_2.9Fixed 2026-02-03RHSA-2026:1815
Red Hat Enterprise Linux 9.4 Extended Update Supportopenssh-0:8.7p1-38.el9_4.6Fixed 2026-01-22RHSA-2026:0976
Red Hat Enterprise Linux 9.6 Extended Update Supportopenssh-0:8.7p1-45.el9_6.1Fixed 2026-01-15RHSA-2026:0693
Red Hat Ceph Storage 7rhceph/rhceph-7-rhel9:1769508455Fixed 2026-02-03RHSA-2026:1858
Red Hat Ceph Storage 8rhceph/rhceph-8-rhel9:1769512383Fixed 2026-02-02RHSA-2026:1652
Red Hat Discovery 2discovery/discovery-server-rhel9:1767888970Fixed 2026-01-08RHSA-2026:0414
Red Hat Hardened Imagesopenssh-main-10.2p1-9.hum1Fixed 2026-03-23RHSA-2026:5475
Red Hat Update Infrastructure 5rhui5/installer-rhel9:1768296285Fixed 2026-01-15RHSA-2026:0685
Red Hat Update Infrastructure 5rhui5/rhua-rhel9:1768377012Fixed 2026-01-15RHSA-2026:0685
Red Hat Enterprise Linux 6opensshOut of support scope
Red Hat Enterprise Linux 7opensshFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-61984.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed
ICSA-26-209-04Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-07-14Critical ManufacturingSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.6, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.6, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.6 and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

References

Check your stackJSON