Vulnerability · Published Oct 6, 2025 · Assigned by mitre

CVE-2025-61985

Low 3.6

In plain English

A low-severity security flaw in OpenSSH from OpenBSD. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.6Low
Exploit odds (30 days)0.1%top 97.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10openssh9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux:8openssh8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux:9openssh8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux:10openssh-askpass9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux:8openssh-askpass8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux:9openssh-askpass8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux:8openssh-cavs8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux:10openssh-clients9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux:8openssh-clients8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux:9openssh-clients8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux:10openssh-keycat9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux:8openssh-keycat8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux:9openssh-keycat8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux:10openssh-keysign9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux:8openssh-ldap8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux:10openssh-server9.9p1-12.el10_1.alma.1ALSA-2025:23479
AlmaLinux:8openssh-server8.0p1-27.el8_10ALSA-2025:23481
AlmaLinux:9openssh-server8.7p1-47.el9_7.alma.1ALSA-2025:23480
AlmaLinux:8pam_ssh_agent_auth0.10.3-7.27.el8_10ALSA-2025:23481
AlmaLinux:9pam_ssh_agent_auth0.10.4-5.47.el9_7.alma.1ALSA-2025:23480
Alpine:v3.22openssh10.0_p1-r10ALPINE-CVE-2025-61985
Alpine:v3.23openssh10.1_p1-r0ALPINE-CVE-2025-61985
Alpine:v3.24openssh10.1_p1-r0ALPINE-CVE-2025-61985
Debian:12openssh1:9.2p1-2+deb12u8DEBIAN-CVE-2025-61985
Debian:13openssh1:10.0p1-7+deb13u1DEBIAN-CVE-2025-61985
Debian:14openssh1:10.1p1-1DEBIAN-CVE-2025-61985
Rocky Linux:10openssh0:9.9p1-12.el10_1.rocky.0.1RLSA-2025:23479
Rocky Linux:8openssh0:8.0p1-27.el8_10RLSA-2025:23481
Rocky Linux:9openssh0:8.7p1-47.el9_7.rocky.0.1RLSA-2025:23480
Ubuntu:22.04:LTSopenssh1:8.9p1-3ubuntu0.14UBUNTU-CVE-2025-61985
Ubuntu:24.04:LTSopenssh1:9.6p1-3ubuntu13.15UBUNTU-CVE-2025-61985
Ubuntu:25.10openssh1:10.0p1-5ubuntu5.1UBUNTU-CVE-2025-61985
Ubuntu:26.04:LTSopenssh1:10.2p1-2ubuntu1UBUNTU-CVE-2025-61985
Ubuntu:22.04:LTSopenssh-ssh1no fix listedUBUNTU-CVE-2025-61985
Ubuntu:24.04:LTSopenssh-ssh1no fix listedUBUNTU-CVE-2025-61985
Ubuntu:25.10openssh-ssh1no fix listedUBUNTU-CVE-2025-61985
Ubuntu:26.04:LTSopenssh-ssh1no fix listedUBUNTU-CVE-2025-61985
Ubuntu:26.10openssh-ssh1no fix listedUBUNTU-CVE-2025-61985

Affected products (as reported)

VendorProductVersions
OpenBSD OpenSSH 0 – before 10.1

Weakness: CWE-158 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

References