Improper Neutralization of Null Byte or NUL Character Affecting openssh-debugsource package, versions <0:8.7p1-8.amzn2023.0.16


Severity

Recommended
low

Based on Amazon 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-AMZN2023-OPENSSHDEBUGSOURCE-15320775
  • published19 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 Amazon-Linux:2023 openssh-debugsource to version 0:8.7p1-8.amzn2023.0.16 or higher.
This issue was patched in ALAS2023-2026-1441.

NVD Description

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