{"id":"JLSEC-2026-1087","aliases":["JLSEC-2026-1087"],"related":["CVE-2026-66034","EUVD-2026-48721","GHSA-6h6q-9mwg-r6x7"],"kind":"vulnerability","state":"published","title":"libssh2 through 1.11.1, fixed in commit a13bb6c, contains a missing bounds check vulnerability...","summary":"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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","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.","format":"markdown","source":"jlsec"}],"published":"2026-07-31T18:09:08.751Z","modified":"2026-07-31T18:20:51.695Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"Julia Security Advisories","scheme":"CVSS:4.0","vector":"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"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.11.104+0"}],"ecosystem":"Julia","package":"LibSSH2_jll","purl":"pkg:julia/LibSSH2_jll?uuid=29816b5a-b9ab-546f-933c-edad1886dfa8","source":"jlsec"}],"references":[{"url":"https://github.com/advisories/GHSA-6h6q-9mwg-r6x7","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/libssh2/libssh2/commit/a13bb6c773f0d55ad1628cede57e99803cd898d9","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/libssh2/libssh2/pull/2202","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-66034","tags":["web"],"sources":["jlsec"]},{"url":"https://www.vulncheck.com/advisories/libssh2-heap-out-of-bounds-read-via-publickey-subsystem","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-1087","url":"https://osv.dev/vulnerability/JLSEC-2026-1087","licence":"CC-BY-4.0","modified":"2026-07-31T18:20:51.695Z"}],"updatedAt":"2026-11-25T22:56:25.857Z"}