Improper Neutralization of Null Byte or NUL Character Affecting openssh package, versions <10.1_p1-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.12% (3rd 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-ALPINE324-OPENSSH-17297566
  • published11 Jun 2026
  • 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 Alpine:3.24 openssh to version 10.1_p1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh package and not the openssh package as distributed by Alpine. See How to fix? for Alpine:3.24 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