{"id":"CVE-2026-66034","published":"2026-07-24T16:42:18Z","modified":"2026-11-10T12:49:36Z","title":"libssh2 Heap Out-of-Bounds Read via publickey subsystem","vendor":"libssh2","product":"libssh2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00416,"percentile":0.36794,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-908","name":"Use of Uninitialized Resource"}],"references":[{"url":"https://github.com/libssh2/libssh2/pull/2202","tags":["issue-tracking","patch"]},{"url":"https://github.com/libssh2/libssh2/commit/a13bb6c773f0d55ad1628cede57e99803cd898d9","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/libssh2-heap-out-of-bounds-read-via-publickey-subsystem","tags":["third-party-advisory"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":7.36},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"libssh2","affectedVersions":[{"vendor":"libssh2","product":"libssh2","versions":["<= 1.11.1"]}],"fixedVersions":[{"vendor":"libssh2","product":"libssh2","versions":["a13bb6c773f0d55ad1628cede57e99803cd898d9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-24T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-48721","exploited":false,"provenance":"source"}}