{"id":"AZL-91385","summary":"CVE-2026-58051 affecting package libssh2 1.11.1-5","details":"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.","modified":"2026-08-30T05:26:50Z","published":"2026-06-28T02:16:32Z","upstream":["CVE-2026-58051"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58051"}],"affected":[{"package":{"name":"libssh2","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/libssh2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.11.1-5"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-91385.json"}}],"schema_version":"1.9.0"}