CVSS 3.1
3.6 lowCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NLow (3.6) in openbsd openssh. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NExplain CVE-2025-61985 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61985?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61985?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-61985 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.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| OpenBSD OpenSSH | before 10.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | openssh | 1:8.4p1-5+deb11u7 | DLA-4584-1 |
| Debian | 12 | openssh | 1:9.2p1-2+deb12u8 | DEBIAN-CVE-2025-61985 |
| Debian | 13 | openssh | 1:10.0p1-7+deb13u1 | DEBIAN-CVE-2025-61985 |
| Debian | 14 | openssh | 1:10.1p1-1 | DEBIAN-CVE-2025-61985 |
| Ubuntu | 18.04:LTS, 20.04:LTS, 22.04:LTS and 4 more | openssh-ssh1 | no fix listed | UBUNTU-CVE-2025-61985 |
| Ubuntu | 22.04:LTS | openssh | 1:8.9p1-3ubuntu0.14 | UBUNTU-CVE-2025-61985 |
| Ubuntu | 24.04:LTS | openssh | 1:9.6p1-3ubuntu13.15 | UBUNTU-CVE-2025-61985 |
| Ubuntu | 25.10 | openssh | 1:10.0p1-5ubuntu5.1 | UBUNTU-CVE-2025-61985 |
| Ubuntu | 26.04:LTS | openssh | 1:10.2p1-2ubuntu1 | UBUNTU-CVE-2025-61985 |
| Ubuntu | Pro:20.04:LTS | openssh | 1:8.2p1-4ubuntu0.13+esm1 | UBUNTU-CVE-2025-61985 |
| Ubuntu | Pro:FIPS-preview:22.04:LTS, Pro:FIPS-updates:16.04:LTS, Pro:FIPS-updates:18.04:LTS and 3 more | openssh | no fix listed | UBUNTU-CVE-2025-61985 |
| Ubuntu | Pro:FIPS-updates:20.04:LTS | openssh | 1:8.2p1-4ubuntu0.fips.0.13.1 | UBUNTU-CVE-2025-61985 |
| Ubuntu | Pro:FIPS-updates:22.04:LTS | openssh | 1:8.9p1-3ubuntu0.14+Fips1 | UBUNTU-CVE-2025-61985 |
| Ubuntu | Pro:FIPS-updates:24.04:LTS | openssh | 1:9.6p1-3ubuntu13.15+Fips1 | UBUNTU-CVE-2025-61985 |
| Red Hat | enterprise_linux:8::appstream | openssh-askpass, openssh-debuginfo, openssh-debugsource and 6 more | 0:8.0p1-27.el8_10 | RHSA-2025:23481 |
| Red Hat | enterprise_linux:8::appstream | pam_ssh_agent_auth-debuginfo | 0:0.10.3-7.27.el8_10 | RHSA-2025:23481 |
| Red Hat | enterprise_linux:8::baseos | openssh, openssh-cavs, openssh-ldap and 11 more | 0:8.0p1-27.el8_10 | RHSA-2025:23481 |
| Red Hat | enterprise_linux:8::baseos | pam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo | 0:0.10.3-7.27.el8_10 | RHSA-2025:23481 |
| Red Hat | enterprise_linux:9::appstream | openssh-askpass, openssh-debuginfo, openssh-debugsource and 5 more | 0:8.7p1-47.el9_7 | RHSA-2025:23480 |
| Red Hat | enterprise_linux:9::appstream | pam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo | 0:0.10.4-5.47.el9_7 | RHSA-2025:23480 |
| Red Hat | enterprise_linux:9::baseos | openssh, openssh-keycat, openssh-server and 8 more | 0:8.7p1-47.el9_7 | RHSA-2025:23480 |
| Red Hat | enterprise_linux:9::baseos | pam_ssh_agent_auth-debuginfo | 0:0.10.4-5.47.el9_7 | RHSA-2025:23480 |
| Red Hat | enterprise_linux:10.1 | openssh, openssh-keycat, openssh-server and 11 more | 0:9.9p1-12.el10_1 | RHSA-2025:23479 |
| Red Hat | enterprise_linux_eus:10.0 | openssh, openssh-keycat, openssh-server and 11 more | 0:9.9p1-7.el10_0.1 | RHSA-2026:1678 |
| Red Hat | hummingbird:1 | openssh, openssh-keycat, openssh-server and 4 more | 0:10.2p1-9.hum1 | RHSA-2026:5475 |
| Red Hat | rhel_e4s:9.0::appstream | openssh-askpass, openssh-debuginfo, openssh-debugsource and 4 more | 0:8.7p1-13.el9_0.1 | RHSA-2026:1790 |
| 15 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 more | openssh, openssh-askpass-gnome | 8.4p1-150300.3.57.1 | SUSE-SU-2025:4112-1 |
| SUSE | Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4 and 3 more | openssh | 8.4p1-150300.3.57.1 | SUSE-SU-2025:4112-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7 | openssh | 9.6p1-150600.6.34.1 | SUSE-SU-2025:4067-1 |
| SUSE | Linux Enterprise Module for Desktop Applications 15 SP6, Linux Enterprise Module for Desktop Applications 15 SP7 | openssh-askpass-gnome | 9.6p1-150600.6.34.1 | SUSE-SU-2025:4067-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5 | openssh8.4 | 8.4p1-8.19.1 | SUSE-SU-2025:4098-1 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | openssh, openssh-askpass-gnome | 10.0p2-160000.3.1 | SUSE-SU-2025:21161-1 |
| SUSE | Linux Micro 6.0 | openssh | 9.6p1-4.1 | SUSE-SU-2025:21044-1 |
| SUSE | Linux Micro 6.1 | openssh | 9.6p1-slfo.1.1_3.1 | SUSE-SU-2026:20662-1 |
| SUSE | Linux Micro 6.2 | openssh | 10.0p2-160000.3.1 | SUSE-SU-2025:21128-1 |
| openSUSE | Leap 15.6 | openssh, openssh-askpass-gnome | 9.6p1-150600.6.34.1 | SUSE-SU-2025:4067-1 |
| openSUSE | Leap 16.0 | openssh, openssh-askpass-gnome | 10.0p2-160000.3.1 | openSUSE-SU-2025:20122-1 |
| AlmaLinux | 8 | openssh, openssh-cavs, openssh-ldap and 4 more | 8.0p1-27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 8 | pam_ssh_agent_auth | 0.10.3-7.27.el8_10 | ALSA-2025:23481 |
| AlmaLinux | 9 | openssh, openssh-keycat, openssh-server and 2 more | 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 | 10 | openssh, openssh-keycat, openssh-server and 3 more | 9.9p1-12.el10_1.alma.1 | ALSA-2025:23479 |
| Rocky Linux | 8 | openssh | 0:8.0p1-27.el8_10 | RLSA-2025:23481 |
| Rocky Linux | 9 | openssh | 0:8.7p1-47.el9_7.rocky.0.1 | RLSA-2025:23480 |
| Rocky Linux | 10 | openssh | 0:9.9p1-12.el10_1.rocky.0.1 | RLSA-2025:23479 |
| Alpine | v3.22 | openssh | 10.0_p1-r10 | ALPINE-CVE-2025-61985 |
| Alpine | v3.23, v3.24 | openssh | 10.1_p1-r0 | ALPINE-CVE-2025-61985 |
| Azure Linux | 2 | openssh | 8.9p1-9 | AZL-68292 |
| Azure Linux | 3 | openssh | 9.8p1-5 | AZL-68228 |
| Alpaquita | 23 | openssh | 9.1_p1-r11 | BELL-CVE-2025-61985 |
| Alpaquita | 25 | openssh | 10.0_p1-r10 | BELL-CVE-2025-61985 |
| Alpaquita | stream | openssh | 10.1_p1-r0 | BELL-CVE-2025-61985 |
| BellSoft Hardened Containers | 23 | openssh | 9.1_p1-r11 | BELL-CVE-2025-61985 |
| BellSoft Hardened Containers | 25 | openssh | 10.0_p1-r10 | BELL-CVE-2025-61985 |
| BellSoft Hardened Containers | stream | openssh | 10.1_p1-r0 | BELL-CVE-2025-61985 |
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 rates this Moderate.
The impact is MODERATE because it is a critical component used across many Red Hat products.
Exploiting this vulnerability would require a specific configuration where ProxyCommand is enabled and the SSH client processes an untrusted ssh:// URI containing null bytes. Under these conditions, the command parser may misinterpret the URI and execute unintended shell commands.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | openssh-0:9.9p1-12.el10_1 | Fixed 2025-12-17 | RHSA-2025:23479 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | openssh-0:9.9p1-7.el10_0.1 | Fixed 2026-02-02 | RHSA-2026:1678 |
| Red Hat Enterprise Linux 8 | openssh-0:8.0p1-27.el8_10 | Fixed 2025-12-17 | RHSA-2025:23481 |
| Red Hat Enterprise Linux 9 | openssh-0:8.7p1-47.el9_7 | Fixed 2025-12-17 | RHSA-2025:23480 |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | openssh-0:8.7p1-13.el9_0.1 | Fixed 2026-02-03 | RHSA-2026:1790 |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | openssh-0:8.7p1-30.el9_2.9 | Fixed 2026-02-03 | RHSA-2026:1815 |
| Red Hat Enterprise Linux 9.4 Extended Update Support | openssh-0:8.7p1-38.el9_4.6 | Fixed 2026-01-22 | RHSA-2026:0976 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | openssh-0:8.7p1-45.el9_6.1 | Fixed 2026-01-15 | RHSA-2026:0693 |
| Red Hat Ceph Storage 7 | rhceph/rhceph-7-rhel9:1769508455 | Fixed 2026-02-03 | RHSA-2026:1858 |
| Red Hat Ceph Storage 8 | rhceph/rhceph-8-rhel9:1769512383 | Fixed 2026-02-02 | RHSA-2026:1652 |
| Red Hat Discovery 2 | discovery/discovery-server-rhel9:1767888970 | Fixed 2026-01-08 | RHSA-2026:0414 |
| Red Hat Hardened Images | openssh-main-10.2p1-9.hum1 | Fixed 2026-03-23 | RHSA-2026:5475 |
| Red Hat Update Infrastructure 5 | rhui5/installer-rhel9:1768296285 | Fixed 2026-01-15 | RHSA-2026:0685 |
| Red Hat Update Infrastructure 5 | rhui5/rhua-rhel9:1768377012 | Fixed 2026-01-15 | RHSA-2026:0685 |
| Red Hat Enterprise Linux 6 | openssh | Fix deferred | |
| Red Hat Enterprise Linux 7 | openssh | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix 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-61985.
| Advisory | Title | Published | Sectors | Affected | Fixed |
|---|---|---|---|---|---|
| ICSA-26-295-11 | Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP | 2026-10-13 | Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and Facilities | SIMATIC 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 more | none listed |
| ICSA-26-209-04 | Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP | 2026-07-14 | Critical Manufacturing | SIMATIC 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 more | none 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.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.