Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-58051 →
Unrated

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 f...

UBUNTU-CVE-2026-58051 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSlibssh2
< 1.4.3-2ubuntu0.2+esm4→ 1.4.3-2ubuntu0.2+esm4
Ubuntu:Pro:16.04:LTSlibssh2
< 1.5.0-2ubuntu0.1+esm3→ 1.5.0-2ubuntu0.1+esm3
Ubuntu:Pro:18.04:LTSlibssh2
< 1.8.0-1ubuntu0.1+esm1→ 1.8.0-1ubuntu0.1+esm1
Ubuntu:Pro:20.04:LTSlibssh2
< 1.8.0-2.1ubuntu0.1+esm1→ 1.8.0-2.1ubuntu0.1+esm1
Ubuntu:22.04:LTSlibssh2
< 1.10.0-3ubuntu0.1→ 1.10.0-3ubuntu0.1
Ubuntu:24.04:LTSlibssh2
< 1.11.0-4.1ubuntu0.24.04.3→ 1.11.0-4.1ubuntu0.24.04.3
Ubuntu:25.10libssh2
All versions→ Not listed
Ubuntu:26.04:LTSlibssh2
< 1.11.1-1ubuntu0.26.04.3→ 1.11.1-1ubuntu0.26.04.3
Original description The description as published by the source.

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: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details