Skip to content
Fencer Vulns
low 3.6

CVE-2025-61985 json

ssh in OpenSSH before 10.1 allows the '`\0`' character in an `ssh://` URI, potentially leading to code...

published 2025-10-06 13 mo ago modified 2026-10-15 25 d ago also EUVD-2025-32134 , GHSA-8gmf-r74v-362p , JLSEC-2025-8

cvss
3.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 2%
public exploits
0
none known

Summary

ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI, potentially leading to code execution when a ProxyCommand is used.

Patch / fix

  • julia OpenSSH_jll 10.1.1+0
  • OpenBSD OpenSSH 10.1
  • openssh Debian 12 1:9.2p1-2+deb12u8
  • openssh Debian 13 1:10.0p1-7+deb13u1
  • openssh Debian 14 1:10.1p1-1

debian advisories DEBIAN-CVE-2025-61985

  • openssh Ubuntu 22.04 LTS 1:8.9p1-3ubuntu0.14
  • openssh Ubuntu 24.04 LTS 1:9.6p1-3ubuntu13.15
  • openssh Ubuntu 25.10 1:10.0p1-5ubuntu5.1
  • openssh Ubuntu 26.04 LTS 1:10.2p1-2ubuntu1
  • openssh Ubuntu Pro 20.04 LTS 1:8.2p1-4ubuntu0.13+esm1
  • openssh Ubuntu Pro FIPS-updates 20.04 LTS 1:8.2p1-4ubuntu0.fips.0.13.1
  • openssh Ubuntu Pro FIPS-updates 22.04 LTS 1:8.9p1-3ubuntu0.14+Fips1
  • openssh Ubuntu Pro FIPS-updates 24.04 LTS 1:9.6p1-3ubuntu13.15+Fips1

ubuntu advisories UBUNTU-CVE-2025-61985

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh hummingbird 1 10.2p1-9.hum1
  • openssh-keycat hummingbird 1 10.2p1-9.hum1
  • openssh-server hummingbird 1 10.2p1-9.hum1
  • openssh-askpass hummingbird 1 10.2p1-9.hum1
  • openssh-clients hummingbird 1 10.2p1-9.hum1
  • openssh-keysign hummingbird 1 10.2p1-9.hum1
  • openssh-sk-dummy hummingbird 1 10.2p1-9.hum1
  • openssh RHEL 9 8.7p1-47.el9_7

red hat advisories RHSA-2026:5475RHSA-2026:1815RHSA-2026:1790RHSA-2026:1678RHSA-2026:0976RHSA-2026:0693

  • openssh Linux Micro 6.1 9.6p1-slfo.1.1_3.1
  • openssh SLES 16.0, Linux Micro 6.2, SLES for SAP applications 16.0 10.0p2-160000.3.1
  • openssh-askpass-gnome SLES for SAP applications 16.0, SLES 16.0 10.0p2-160000.3.1
  • openssh SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +15 more 8.4p1-150300.3.57.1
  • openssh-askpass-gnome SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +9 more 8.4p1-150300.3.57.1
  • openssh Linux Micro 6.0 9.6p1-4.1
  • openssh SLE Module for Basesystem 15 SP7, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 9.6p1-150600.6.34.1
  • openssh-askpass-gnome SLE Module for Desktop Applications 15 SP7, SLE Module for Desktop Applications 15 SP6, openSUSE Leap 15.6 9.6p1-150600.6.34.1

suse advisories SUSE-SU-2026:20662-1SUSE-SU-2025:21128-1SUSE-SU-2025:21161-1SUSE-SU-2025:4112-1SUSE-SU-2025:21044-1SUSE-SU-2025:4098-1

  • openssh openSUSE Leap 16.0 10.0p2-160000.3.1
  • openssh-askpass-gnome openSUSE Leap 16.0 10.0p2-160000.3.1

opensuse advisories openSUSE-SU-2025:20122-1

  • openssh AlmaLinux 10 9.9p1-12.el10_1.alma.1
  • openssh-keycat AlmaLinux 10 9.9p1-12.el10_1.alma.1
  • openssh-server AlmaLinux 10 9.9p1-12.el10_1.alma.1
  • openssh-askpass AlmaLinux 10 9.9p1-12.el10_1.alma.1
  • openssh-clients AlmaLinux 10 9.9p1-12.el10_1.alma.1
  • openssh-keysign AlmaLinux 10 9.9p1-12.el10_1.alma.1
  • openssh AlmaLinux 9 8.7p1-47.el9_7.alma.1
  • openssh-keycat AlmaLinux 9 8.7p1-47.el9_7.alma.1

almalinux advisories ALSA-2025:23479ALSA-2025:23480ALSA-2025:23481

  • openssh Rocky Linux 10 9.9p1-12.el10_1.rocky.0.1
  • openssh Rocky Linux 9 8.7p1-47.el9_7.rocky.0.1
  • openssh Rocky Linux 8 8.0p1-27.el8_10

rocky linux advisories RLSA-2025:23479RLSA-2025:23480RLSA-2025:23481

  • openssh Alpine 3.22 10.0_p1-r10
  • openssh Alpine 3.24, Alpine 3.23 10.1_p1-r0

alpine advisories ALPINE-CVE-2025-61985

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh Azure Linux 3.0 9.8p1-5
  • openssh CBL-Mariner 2.0 8.9p1-9

azure linux advisories AZL-68228AZL-68292

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-61985 updated cvss 5.3

openssh: OpenSSH: Null character in ssh:// URI can lead to code execution via ProxyCommand

  • Red Hat Enterprise Linux 6 openssh, openssh-ldap, openssh-server, openssh-askpass, openssh-clients, pam_ssh_agent_auth Red Hat Enterprise Linux 7 openssh, openssh-cavs, openssh-ldap, openssh-keycat, openssh-server, openssh-askpass, +3 more Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9
    affected: no fix available “Fix deferred”
  • Red Hat Ceph Storage 7 rhceph 1769508455
    fixed: vendor fix RHSA-2026:1858
  • Red Hat Ceph Storage 8 rhceph 1769512383
    fixed: vendor fix RHSA-2026:1652
  • Red Hat Discovery 2 discovery 1767888970
    fixed: vendor fix RHSA-2026:0414
  • Red Hat Enterprise Linux AppStream (v. 8) openssh-askpass 8.0p1-27.el8_10
    fixed: vendor fix RHSA-2025:23481
  • Red Hat Enterprise Linux AppStream (v. 9) openssh-askpass 8.7p1-47.el9_7, pam_ssh_agent_auth 0.10.4-5.47.el9_7
    fixed: vendor fix RHSA-2025:23480
  • Red Hat Enterprise Linux AppStream (v. 10) openssh-askpass 9.9p1-12.el10_1, openssh-keysign 9.9p1-12.el10_1
    fixed: vendor fix RHSA-2025:23479
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) openssh-askpass 8.7p1-13.el9_0.1, pam_ssh_agent_auth 0.10.4-4.13.el9_0.4
    fixed: vendor fix RHSA-2026:1790
show 15 more
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) openssh-askpass 8.7p1-30.el9_2.9, pam_ssh_agent_auth 0.10.4-5.30.el9_2.9
    fixed: vendor fix RHSA-2026:1815
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) openssh-askpass 9.9p1-7.el10_0.1, openssh-keysign 9.9p1-7.el10_0.1
    fixed: vendor fix RHSA-2026:1678
  • Red Hat Enterprise Linux AppStream EUS (v.9.4) openssh-askpass 8.7p1-38.el9_4.6, pam_ssh_agent_auth 0.10.4-5.38.el9_4.6
    fixed: vendor fix RHSA-2026:0976
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) openssh-askpass 8.7p1-45.el9_6.1, pam_ssh_agent_auth 0.10.4-5.45.el9_6
    fixed: vendor fix RHSA-2026:0693
  • Red Hat Enterprise Linux BaseOS (v. 8) openssh 8.0p1-27.el8_10, openssh-cavs 8.0p1-27.el8_10, openssh-ldap 8.0p1-27.el8_10, openssh-keycat 8.0p1-27.el8_10, openssh-server 8.0p1-27.el8_10, openssh-clients 8.0p1-27.el8_10, +1 more
    fixed: vendor fix RHSA-2025:23481
  • Red Hat Enterprise Linux BaseOS (v. 9) openssh 8.7p1-47.el9_7, openssh-keycat 8.7p1-47.el9_7, openssh-server 8.7p1-47.el9_7, openssh-clients 8.7p1-47.el9_7
    fixed: vendor fix RHSA-2025:23480
  • Red Hat Enterprise Linux BaseOS (v. 10) openssh 9.9p1-12.el10_1, openssh-keycat 9.9p1-12.el10_1, openssh-server 9.9p1-12.el10_1, openssh-clients 9.9p1-12.el10_1
    fixed: vendor fix RHSA-2025:23479
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) openssh 8.7p1-13.el9_0.1, openssh-keycat 8.7p1-13.el9_0.1, openssh-server 8.7p1-13.el9_0.1, openssh-clients 8.7p1-13.el9_0.1
    fixed: vendor fix RHSA-2026:1790
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) openssh 8.7p1-30.el9_2.9, openssh-keycat 8.7p1-30.el9_2.9, openssh-server 8.7p1-30.el9_2.9, openssh-clients 8.7p1-30.el9_2.9
    fixed: vendor fix RHSA-2026:1815
  • Red Hat Enterprise Linux BaseOS EUS (v. 10.0) openssh 9.9p1-7.el10_0.1, openssh-keycat 9.9p1-7.el10_0.1, openssh-server 9.9p1-7.el10_0.1, openssh-clients 9.9p1-7.el10_0.1
    fixed: vendor fix RHSA-2026:1678
  • Red Hat Enterprise Linux BaseOS EUS (v.9.4) openssh 8.7p1-38.el9_4.6, openssh-keycat 8.7p1-38.el9_4.6, openssh-server 8.7p1-38.el9_4.6, openssh-clients 8.7p1-38.el9_4.6
    fixed: vendor fix RHSA-2026:0976
  • Red Hat Enterprise Linux BaseOS EUS (v.9.6) openssh 8.7p1-45.el9_6.1, openssh-keycat 8.7p1-45.el9_6.1, openssh-server 8.7p1-45.el9_6.1, openssh-clients 8.7p1-45.el9_6.1
    fixed: vendor fix RHSA-2026:0693
  • Red Hat Hardened Images openssh 10.2p1-9.hum1, openssh-keycat 10.2p1-9.hum1, openssh-server 10.2p1-9.hum1, openssh-askpass 10.2p1-9.hum1, openssh-clients 10.2p1-9.hum1, openssh-keysign 10.2p1-9.hum1, +1 more
    fixed: vendor fix RHSA-2026:5475
  • Red Hat Update Infrastructure 5 rhui5 1768296285, rhui5 1768377012
    fixed: vendor fix RHSA-2026:0685
  • Red Hat Ceph Storage 7 rhceph 1769511650, rhceph 1769512818, rhceph 1769513068, rhceph 1769514555, rhceph 1769523636 Red Hat Ceph Storage 8 rhceph 1768902743, rhceph 1768903190, rhceph 1768903749, rhceph 1768907469, rhceph 1768915405 Red Hat Discovery 2 discovery 1767904573 Red Hat Update Infrastructure 5 rhui5 1768221100, rhui5 1768221107
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-26-295-11 updated cvss 3.6

Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.7 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.7 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.7 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.7 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.7
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

cisa ICSA-26-209-04 updated cvss 3.6

Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.6 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.6 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.6 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.6 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.6
    affected: mitigation, no fix available

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
13 mo ago

Exploit prediction

0.13% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 3.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
OSV 3.1 3.6 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
julia OpenSSH_jll
<10.1.1+0
10.1.1+0

Affected products

  • OpenBSD OpenSSH
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-158 Improper Neutralization of Null Byte or NUL Character

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.