CVE-2025-61985
openssh: OpenSSH: Null character in ssh:// URI can lead to code execution via ProxyCommand
Overview
Description
ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI, potentially leading to code execution when a ProxyCommand is used.
Source: OX vulnerability database
Severity
3.6 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness: CWE-158
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSH_jll | <10.1.1+0 | 10.1.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 63 fixes
Azure Linux 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | openssh | 0:9.8p1-5.azl3 |
Oracle Linux 2 releases · 2 packages
fixed 4
pam-ssh-agent-auth
openssh
| Release | Package | Fixed in |
|---|---|---|
| 8 | pam-ssh-agent-auth | 0.10.3-7.27.0.1.el8_10 |
| 8 | openssh +6 | 8.0p1-27.0.1.el8_10 |
| 9 | pam-ssh-agent-auth | 0.10.4-5.47.0.1.el9_7 |
| 9 | openssh +4 | 8.7p1-47.0.1.el9_7 |
Photon OS 2 releases · 1 package
fixed 2
openssh
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssh +3 | 8.9p1-11.ph4 |
| 5.0 | openssh +3 | 9.3p2-18.ph5 |
Red Hat 3 releases · 3 packages
affected 3
fixed 12
openshift-ose-rhel-coreos-8
pam-ssh-agent-auth
openssh
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift-ose-rhel-coreos-8 +10 | affected | — |
| 8 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 8 | pam-ssh-agent-auth | 0:0.10.3-7.27.el8_10 | RHSA-2025:23481 |
| 8 | openssh +6 | 0:8.0p1-27.el8_10 | RHSA-2025:23481 |
| 9 | openshift-ose-rhel-coreos-8 +1 | affected | — |
| 9 | pam-ssh-agent-auth | 0:0.10.4-4.13.el9_0.4 | RHSA-2026:1790 |
9 more rows
SUSE Linux Enterprise 6 releases · 2 packages
fixed 6
openssh8-4
openssh
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | openssh8-4 +5 | 8.4p1-8.19.1 | SUSE-SU-2025:4098-1 |
| 15.4 | openssh +6 | 8.4p1-150300.3.57.1 | SUSE-SU-2025:4112-1 |
| 15.5 | openssh +6 | 8.4p1-150300.3.57.1 | SUSE-SU-2025:4112-1 |
| 15.6 | openssh +7 | 9.6p1-150600.6.34.1 | SUSE-SU-2025:4067-1 |
| 15.7 | openssh +7 | 9.6p1-150600.6.34.1 | SUSE-SU-2025:4067-1 |
| 16.0 | openssh +7 | 10.0p2-160000.3.1 | SUSE-SU-2025:21161-1 |
SUSE Linux Enterprise Micro 7 releases · 1 package
fixed 7
openssh
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.2 | openssh +4 | 8.4p1-150300.3.57.1 | SUSE-SU-2025:4112-1 |
| 5.3 | openssh +4 | 8.4p1-150300.3.57.1 | SUSE-SU-2025:4112-1 |
| 5.4 | openssh +4 | 8.4p1-150300.3.57.1 | SUSE-SU-2025:4112-1 |
| 5.5 | openssh +4 | 8.4p1-150300.3.57.1 | SUSE-SU-2025:4112-1 |
| 6.0 | openssh +5 | 9.6p1-4.1 | SUSE-SU-2025:21044-1 |
| 6.1 | openssh +5 | 9.6p1-slfo.1.1_3.1 | SUSE-SU-2026:20662-1 |
1 more row
alma 2 releases · 2 packages
fixed 4
pam-ssh-agent-auth
openssh
| Release | Package | Fixed in |
|---|---|---|
| 8 | pam-ssh-agent-auth | 0.10.3-7.27.el8_10 |
| 8 | openssh +6 | 8.0p1-27.el8_10 |
| 9 | pam-ssh-agent-auth | 0.10.4-5.47.el9_7.alma.1 |
| 9 | openssh +4 | 8.7p1-47.el9_7.alma.1 |
alpine 4 releases · 1 package
fixed 4
openssh
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssh | 10.0_p1-r10 |
| 3.23 | openssh | 10.1_p1-r0 |
| 3.24 | openssh | 10.1_p1-r0 |
| edge | openssh | 10.1_p1-r0 |
amazon linux 1 release · 2 packages
fixed 2
pam-ssh-agent-auth
openssh
| Release | Package | Fixed in |
|---|---|---|
| 2023 | pam-ssh-agent-auth +1 | 0.10.4-4.8.amzn2023.0.16 |
| 2023 | openssh +8 | 8.7p1-8.amzn2023.0.16 |
debian 4 releases · 1 package
fixed 4
openssh
| Release | Package | Fixed in |
|---|---|---|
| 11 | openssh | 1:8.4p1-5+deb11u7 |
| 12 | openssh | 1:9.2p1-2+deb12u8 |
| 13 | openssh | 1:10.0p1-7+deb13u1 |
| 14 | openssh | 1:10.1p1-1 |
echo 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in |
|---|---|---|
| openssh | 1:9.2p1-2+deb12u8 |
openSUSE Leap 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | openssh +7 | 10.0p2-160000.3.1 | openSUSE-SU-2025:20122-1 |
rocky 3 releases · 2 packages
fixed 4
openssh
pam-ssh-agent-auth
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssh +3 | 9.9p1-12.el10_1.rocky.0.1 |
| 8 | pam-ssh-agent-auth | 0.10.3-7.27.el8_10 |
| 8 | openssh +5 | 8.0p1-27.el8_10 |
| 9 | openssh +3 | 8.7p1-47.el9_7.rocky.0.1 |
root.io debian 3 releases · 2 packages
fixed 3
rootio-openssh
openssh
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssh | 1:8.4p1-5+deb11u7 |
| 12 | openssh +1 | 1:9.2p1-2+deb12u8 |
| 13 | openssh +1 | 1:10.0p1-7+deb13u1 |
seal Red Hat 1 release · 1 package
fixed 1
openssh
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssh +1 | 7.4p1-23.0.3.el7_9+sp999 |
ubuntu 4 releases · 1 package
fixed 4
openssh
| Release | Package | Fixed in |
|---|---|---|
| 20.04-ESM | openssh | 1:8.2p1-4ubuntu0.13+esm1 |
| 22.04 | openssh | 1:8.9p1-3ubuntu0.14 |
| 24.04 | openssh | 1:9.6p1-3ubuntu13.15 |
| 26.04 | openssh | 1:10.2p1-2ubuntu1 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:23480
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:23481
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-61985
- bugzilla.redhat.com https://bugzilla.redhat.com/2401960
- bugzilla.redhat.com https://bugzilla.redhat.com/2401962
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2401960
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2401962
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-457936.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
Show all 24 references
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61984
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61985
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2025-23481.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:23480
- github.com https://github.com/advisories/GHSA-8gmf-r74v-362p
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-61985.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-23481.html
- marc.info https://marc.info/?l=openssh-unix-dev&m=175974522032149&w=2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-61985
- ubuntu.com https://ubuntu.com/security/notices/USN-8090-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8090-2
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-61985
- www.openssh.com https://www.openssh.com/releasenotes.html#10.1p1
- www.openwall.com https://www.openwall.com/lists/oss-security/2025/10/06/1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.