Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-91385.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-91385
Upstream
Published
2026-06-28T02:16:32Z
Modified
2026-08-29T05:27:27Z
Summary
CVE-2026-58051 affecting package libssh2 1.11.1-5
Details

libssh2 through 1.11.1 grows its publickey list with SSH2REALLOC but does not zero-initialize new entries before parsing populates them, so a parse failure reaching the cleanup path leaves libssh2publickeylistfree 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.

References

Affected packages

Azure Linux:3 / libssh2

Package

Name
libssh2
Purl
pkg:rpm/azure-linux/libssh2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.11.1-5

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-91385.json"