Improper Neutralization of Null Byte or NUL Character Affecting openssh package, versions <0:8.7p1-47.el9_7


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL9-OPENSSH-14471802
  • published18 Dec 2025
  • disclosed6 Oct 2025

Introduced: 6 Oct 2025

CVE-2025-61985  (opens in a new tab)
CWE-158  (opens in a new tab)

How to fix?

Upgrade RHEL:9 openssh to version 0:8.7p1-47.el9_7 or higher.
This issue was patched in RHSA-2025:23480.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh package and not the openssh package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1