Improper Neutralization of Null Byte or NUL Character Affecting openssh package, versions <1:8.2p1-4ubuntu0.13+esm1


Severity

Recommended
low

Based on Ubuntu 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-UBUNTU2004-OPENSSH-13426754
  • published5 Feb 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 Ubuntu:20.04 openssh to version 1:8.2p1-4ubuntu0.13+esm1 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 Ubuntu. See How to fix? for Ubuntu:20.04 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