{"id":"JLSEC-2026-663","aliases":["JLSEC-2026-663"],"related":["CVE-2026-58051","GHSA-c5f3-hwj2-xp5p","EUVD-2026-39971"],"kind":"vulnerability","state":"published","title":"libssh2 through 1.11.1 grows its publickey list with `SSH2_REALLOC` but does not zero-initialize new...","summary":"libssh2 through 1.11.1 grows its publickey list with `SSH2_REALLOC` but does not zero-initialize new entries before parsing populates them, so a parse failure reaching the cleanup path leaves `libssh2_publickey_list_free` 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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"libssh2 through 1.11.1 grows its publickey list with `SSH2_REALLOC` but does not zero-initialize new entries before parsing populates them, so a parse failure reaching the cleanup path leaves `libssh2_publickey_list_free` 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.","format":"markdown","source":"jlsec"}],"published":"2026-07-11T04:13:36.542Z","modified":"2026-07-25T18:23:59.098Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"Julia Security Advisories","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/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.103+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-c5f3-hwj2-xp5p","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/libssh2/libssh2/blob/master/src/publickey.c","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58051","tags":["web"],"sources":["jlsec"]},{"url":"https://www.vulncheck.com/advisories/libssh2-free-of-uninitialized-pointer-in-publickey-list-cleanup","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-663","url":"https://osv.dev/vulnerability/JLSEC-2026-663","licence":"CC-BY-4.0","modified":"2026-07-25T18:23:59.098Z"}],"updatedAt":"2026-11-25T22:56:26.195Z"}