Access of Uninitialized Pointer Affecting libssh2-docs package, versions <0:1.11.1-10.1.hum1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.28% (20th 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-LIBSSH2DOCS-18339537
  • published28 Jul 2026
  • disclosed28 Jun 2026

Introduced: 28 Jun 2026

CVE-2026-58051  (opens in a new tab)
CWE-824  (opens in a new tab)

How to fix?

Upgrade RHEL:10 libssh2-docs to version 0:1.11.1-10.1.hum1 or higher.
This issue was patched in RHSA-2026:46535.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh2-docs package and not the libssh2-docs package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

libssh2 through 1.11.1 grows its publickey list with SSH2_REALLOC but does not zero-initialize new entries before parsing populates them, so a parse failure reaching the cleanup path leaves libssh2_publickey_list_free operating on an uninitialized entry. A malicious SSH server offering the publickey subsystem can use a malformed response to make cleanup free an uninitialized, attacker-influenceable attrs pointer in a connecting libssh2 client.

CVSS Base Scores

version 3.1