Buffer Underflow Affecting libssh package, versions <0:0.12.0-2.el10


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise 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-RHEL10-LIBSSH-16763786
  • published20 May 2026
  • disclosed10 Feb 2026

Introduced: 10 Feb 2026

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

How to fix?

Upgrade RHEL:10 libssh to version 0:0.12.0-2.el10 or higher.
This issue was patched in RHSA-2026:18160.

NVD Description

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