---
id: CVE-2025-61985
title: >-
  ssh in OpenSSH before 10.1 allows the '\0' character in an ssh:// URI,
  potentially leading to code execution when a ProxyCommand is used.
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.
severity: low
cvss: 3.6
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-158
vendor: OpenBSD
product: OpenSSH
affected:
  - OpenSSH < 10.1
published: '2025-10-06'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:18:09.670'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-61985'
references:
  - url: 'https://marc.info/?l=openssh-unix-dev&m=175974522032149&w=2'
    label: cve@mitre.org
  - url: 'https://www.openssh.com/releasenotes.html#10.1p1'
    label: cve@mitre.org
  - url: 'https://www.openwall.com/lists/oss-security/2025/10/06/1'
    label: cve@mitre.org
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-457936.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00125
epssPercentile: 0.02201
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2025-10-06T18:33:49.712677Z'
ingestedAt: '2026-09-08T15:33:26.996Z'
---

## Overview

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
