Buffer Underflow Affecting libssh-debugsource package, versions <0:0.10.6-1.amzn2023.0.4


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.58% (44th 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-LIBSSHDEBUGSOURCE-15437627
  • published6 Mar 2026
  • disclosed26 Mar 2026

Introduced: 6 Mar 2026

CVE-2026-0966  (opens in a new tab)
CWE-124  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libssh-debugsource to version 0:0.10.6-1.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2026-1461.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh-debugsource package and not the libssh-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

A flaw was found in libssh. The API function ssh_get_hexa() is vulnerable to a denial of service when processing zero-length input. This can be exploited remotely by an attacker during GSSAPI (Generic Security Service Application Program Interface) authentication if the server's logging verbosity is set to SSH_LOG_PACKET (3) or higher. Successful exploitation could lead to a self-Denial of Service of the per-connection daemon process.

CVSS Base Scores

version 3.1