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.
{
"sources": [
{
"imported": "2026-07-10T13:58:54.323Z",
"id": "CVE-2026-58051",
"database_specific": {
"status": "Analyzed"
},
"published": "2026-06-28T02:16:32.153Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58051",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-58051",
"modified": "2026-06-30T17:42:04.473Z"
},
{
"imported": "2026-07-10T13:58:58.999Z",
"html_url": "https://github.com/advisories/GHSA-c5f3-hwj2-xp5p",
"id": "GHSA-c5f3-hwj2-xp5p",
"published": "2026-06-28T03:33:40Z",
"url": "https://api.github.com/advisories/GHSA-c5f3-hwj2-xp5p",
"modified": "2026-06-28T03:33:40Z"
},
{
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-39971",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39971",
"id": "EUVD-2026-39971",
"published": "2026-06-28T01:32:54Z",
"imported": "2026-07-10T13:58:55.738Z",
"modified": "2026-06-29T12:50:00Z"
}
],
"license": "CC-BY-4.0"
}