{"id":"DEBIAN-CVE-2026-58050","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-09-12T10:00:26.140179146Z","published":"2026-06-28T02:16:32.017Z","upstream":["CVE-2026-58050"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-58050"}],"affected":[{"package":{"name":"libssh2","ecosystem":"Debian:12","purl":"pkg:deb/debian/libssh2?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-3+deb12u1"}]}],"versions":["1.10.0-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-58050.json"}},{"package":{"name":"libssh2","ecosystem":"Debian:13","purl":"pkg:deb/debian/libssh2?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.1-1+deb13u2"}]}],"versions":["1.11.1-1","1.11.1-1+deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-58050.json"}},{"package":{"name":"libssh2","ecosystem":"Debian:14","purl":"pkg:deb/debian/libssh2?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.1-6"}]}],"versions":["1.11.1-1","1.11.1-2","1.11.1-3","1.11.1-4","1.11.1-5"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2026-58050.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}