{"id":"DHI-r4qo-topd-xzam-ioaa","summary":"libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability that allows a malicious…","details":"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.","modified":"2026-11-18T20:03:27.575145542Z","published":"2026-11-11T16:35:22Z","upstream":["CVE-2026-66034"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-r4qo-topd-xzam-ioaa"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66034"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/libssh2-heap-out-of-bounds-read-via-publickey-subsystem"},{"type":"FIX","url":"https://github.com/libssh2/libssh2/pull/2202"},{"type":"FIX","url":"https://github.com/libssh2/libssh2/commit/a13bb6c773f0d55ad1628cede57e99803cd898d9"},{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-66034"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2/ALAS-2026-3861.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-66034"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-66032"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2056.html"},{"type":"ADVISORY","url":"https://alas.aws.amazon.com/AL2023/ALAS-2026-2064.html"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-66035"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-66033"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53587"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53585"},{"type":"ADVISORY","url":"http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53584"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-66034"},{"type":"ADVISORY","url":"https://linux.oracle.com/cve/ELSA-2026-61752-0.html"},{"type":"ADVISORY","url":"https://linux.oracle.com/errata/ELSA-2026-61752-0.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/CVE-2026-66034"},{"type":"ADVISORY","url":"http://people.ubuntu.com/~ubuntu-security/cve/CVE-2026-66034"}],"affected":[{"package":{"name":"libssh2","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/libssh2"},"versions":["1.11.1-r1","1.11.1-r2","1.11.1-r3","1.11.1-r4","1.11.1-r5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4qo-topd-xzam-ioaa.json"}},{"package":{"name":"libssh2","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/libssh2"},"versions":["1.11.1-r3","1.11.1-r4","1.11.1-r5"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4qo-topd-xzam-ioaa.json"}},{"package":{"name":"libssh2","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/libssh2"},"versions":["1.11.1-1+deb13u1+dhi1","1.11.1-1+deb13u1+dhi2","1.11.1-1+deb13u2+dhi0","1.11.1-1+dhi+deb13u1+dhi2","1.11.1-1+dhi+deb13u2+dhi0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-r4qo-topd-xzam-ioaa.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}