Out-of-bounds Read Affecting libssh-debugsource package, versions <0:0.12.0-3.el10_2


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.49% (40th 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-ROCKY10-LIBSSHDEBUGSOURCE-18956153
  • published19 Aug 2026
  • disclosed21 Jul 2026

Introduced: 21 Jul 2026

CVE-2026-59842  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:10 libssh-debugsource to version 0:0.12.0-3.el10_2 or higher.
This issue was patched in RLSA-2026:55855.

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 Rocky-Linux. See How to fix? for Rocky-Linux:10 relevant fixed versions and status.

A flaw was found in libssh. During server-side GSSAPI key exchange, a client-supplied Curve25519 public key shorter than the expected length is copied without proper length validation, leading to an out-of-bounds heap read. This could allow a remote unauthenticated attacker to disclose small amounts of server memory.

CVSS Base Scores

version 3.1