{"id":"JLSEC-2026-662","summary":"libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey...","details":"libssh2 through 1.11.1 reads an attacker-controlled 32-bit attribute count from a publickey-subsystem response and uses it in the allocation num_attrs * sizeof(libssh2_publickey_attribute) without bounds checking, so on 32-bit platforms the multiplication overflows to an undersized buffer. A malicious SSH server can then drive the attribute-parsing loop to write past the allocation, causing a heap buffer overflow in a connecting libssh2 client.","modified":"2026-07-11T04:19:52.421289717Z","published":"2026-07-11T04:13:36.542Z","upstream":["CVE-2026-58050","EUVD-2026-39970","GHSA-mf77-5hj2-98w9"],"database_specific":{"license":"CC-BY-4.0","sources":[{"imported":"2026-07-10T13:58:54.300Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-58050","modified":"2026-06-30T20:27:36.860Z","published":"2026-06-28T02:16:32.017Z","id":"CVE-2026-58050","database_specific":{"status":"Analyzed"},"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58050"},{"imported":"2026-07-10T13:59:00.465Z","url":"https://api.github.com/advisories/GHSA-mf77-5hj2-98w9","modified":"2026-06-28T03:33:43Z","published":"2026-06-28T03:33:40Z","id":"GHSA-mf77-5hj2-98w9","html_url":"https://github.com/advisories/GHSA-mf77-5hj2-98w9"},{"imported":"2026-07-10T13:58:55.761Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-39970","modified":"2026-06-29T12:27:17Z","published":"2026-06-28T01:32:53Z","id":"EUVD-2026-39970","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-39970"}]},"references":[{"type":"WEB","url":"https://github.com/advisories/GHSA-mf77-5hj2-98w9"},{"type":"WEB","url":"https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc"},{"type":"WEB","url":"https://github.com/libssh2/libssh2/blob/master/src/publickey.c"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58050"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocation"}],"affected":[{"package":{"name":"LibSSH2_jll","ecosystem":"Julia","purl":"pkg:julia/LibSSH2_jll?uuid=29816b5a-b9ab-546f-933c-edad1886dfa8"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.11.103+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-662.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N"}]}