libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an arbitrary-length heap out-of-bounds read and a free of an uninitialized pointer via the publickey subsystem. In libssh2_publickey_list_fetch(), the version 1 response parser reads a server-controlled comment_len value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the out-of-bounds read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer from a non-zeroed realloc() region.
{
"license": "CC-BY-4.0",
"sources": [
{
"database_specific": {
"status": "Analyzed"
},
"modified": "2026-07-30T15:44:38.170Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-66034",
"published": "2026-07-24T17:17:35.407Z",
"id": "CVE-2026-66034",
"imported": "2026-07-31T17:07:21.951Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-66034"
},
{
"html_url": "https://github.com/advisories/GHSA-6h6q-9mwg-r6x7",
"id": "GHSA-6h6q-9mwg-r6x7",
"published": "2026-07-24T18:31:30Z",
"url": "https://api.github.com/advisories/GHSA-6h6q-9mwg-r6x7",
"imported": "2026-07-31T17:07:27.607Z",
"modified": "2026-07-24T18:31:30Z"
},
{
"modified": "2026-07-28T01:06:26Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-48721",
"published": "2026-07-24T16:42:18Z",
"id": "EUVD-2026-48721",
"imported": "2026-07-31T17:07:23.723Z",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-48721"
}
]
}