Breaking News: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-58051

libssh2: libssh2: Denial of service or information disclosure via malformed SSH publickey response

Overview

Published
28 Jun 2026
Modified
10 Nov 2026
High CVE
1 Registry packages
10 OS packages
14 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

6.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Weakness: CWE-908

Affected packages · 1

Packages affected by CVE-2026-58051
EcosystemPackageVulnerableFixed in
Julia LibSSH2_jll <1.11.103+0 1.11.103+0

Open a package to see all its vulnerabilities.

Operating systems · 38 fixes

Azure Linux 1 release · 2 packages

fixed 2
libssh2 rust
Azure Linux fixes for CVE-2026-58051
ReleasePackageFixed in
3.0 libssh2 0:1.11.1-6.azl3
3.0 rust 0:1.96.0-1.azl3

Red Hat 1 release · 1 package

eol 1
libssh2
Red Hat fixes for CVE-2026-58051
ReleasePackageFixed in
7 libssh2 +2 eol

SUSE Linux Enterprise 6 releases · 1 package

fixed 6
libssh2-1
SUSE Linux Enterprise fixes for CVE-2026-58051
ReleasePackageFixed inAdvisory
12.5 libssh2-1 +2 1.11.0-29.18.1 SUSE-SU-2026:3525-1
15.4 libssh2-1 +2 1.11.0-150200.9.8.1 SUSE-SU-2026:3526-1
15.5 libssh2-1 +2 1.11.0-150200.9.8.1 SUSE-SU-2026:3526-1
15.6 libssh2-1 +2 1.11.0-150600.20.6.1 SUSE-SU-2026:3541-1
15.7 libssh2-1 +2 1.11.0-150600.20.6.1 SUSE-SU-2026:3541-1
16.0 libssh2-1 +1 1.11.1-160000.5.1 SUSE-SU-2026:23214-1

SUSE Linux Enterprise Micro 6 releases · 1 package

fixed 6
libssh2-1
SUSE Linux Enterprise Micro fixes for CVE-2026-58051
ReleasePackageFixed inAdvisory
5.3 libssh2-1 1.11.0-150200.9.8.1 SUSE-SU-2026:3526-1
5.4 libssh2-1 1.11.0-150200.9.8.1 SUSE-SU-2026:3526-1
5.5 libssh2-1 1.11.0-150200.9.8.1 SUSE-SU-2026:3526-1
6.0 libssh2-1 1.11.0-4.1 SUSE-SU-2026:23245-1
6.1 libssh2-1 1.11.0-slfo.1.1_2.1 SUSE-SU-2026:23187-1
6.2 libssh2-1 1.11.1-160000.5.1 SUSE-SU-2026:23049-1

alpine 4 releases · 1 package

fixed 4
libssh2
alpine fixes for CVE-2026-58051
ReleasePackageFixed in
3.22 libssh2 1.11.1-r3
3.23 libssh2 1.11.1-r4
3.24 libssh2 1.11.1-r4
edge libssh2 1.11.1-r4

amazon linux 1 release · 1 package

fixed 1
libssh2
amazon linux fixes for CVE-2026-58051
ReleasePackageFixed in
2023 libssh2 +4 1.10.0-1.amzn2023.0.5

debian 4 releases · 1 package

affected 1 fixed 3
libssh2
debian fixes for CVE-2026-58051
ReleasePackageFixed in
11 libssh2 affected
12 libssh2 1.10.0-3+deb12u1
13 libssh2 1.11.1-1+deb13u2
14 libssh2 1.11.1-6

echo 1 release · 1 package

fixed 1
libssh2
echo fixes for CVE-2026-58051
ReleasePackageFixed in
libssh2 1.10.0-3+deb12u1

openSUSE 1 release · 1 package

fixed 1
libssh2-1
openSUSE fixes for CVE-2026-58051
ReleasePackageFixed inAdvisory
Tumbleweed libssh2-1 +2 1.11.1-4.1 openSUSE-SU-2026:11454-1

openSUSE Leap 1 release · 1 package

fixed 1
libssh2-1
openSUSE Leap fixes for CVE-2026-58051
ReleasePackageFixed inAdvisory
16.0 libssh2-1 +1 1.11.1-160000.5.1 openSUSE-SU-2026:21549-1

root.io alpine 2 releases · 1 package

fixed 2
libssh2
root.io alpine fixes for CVE-2026-58051
ReleasePackageFixed in
3.22 libssh2 +1 1.11.1-r3
3.23 libssh2 +1 1.11.1-r4

root.io debian 3 releases · 1 package

fixed 3
libssh2
root.io debian fixes for CVE-2026-58051
ReleasePackageFixed in
11 libssh2 +1 1.9.0-2+deb11u1.aikido.6
12 libssh2 +1 1.10.0-3+deb12u1
13 libssh2 +1 1.11.1-1+deb13u2

seal Red Hat 1 release · 1 package

fixed 1
libssh2
seal Red Hat fixes for CVE-2026-58051
ReleasePackageFixed in
7 libssh2 +1 1.8.0-4.el7_9.1+sp999

ubuntu 5 releases · 1 package

fixed 5
libssh2
ubuntu fixes for CVE-2026-58051
ReleasePackageFixed in
18.04-ESM libssh2 1.8.0-1ubuntu0.1+esm1
20.04-ESM libssh2 1.8.0-2.1ubuntu0.1+esm1
22.04 libssh2 1.10.0-3ubuntu0.1
24.04 libssh2 1.11.0-4.1ubuntu0.24.04.3
26.04 libssh2 1.11.1-1ubuntu0.26.04.3

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.