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.
1.8.0-11.8.0-1ubuntu0.11.8.0-2.1build11.8.0-2.1ubuntu0.11.11.0-4.1ubuntu0.24.04.31.11.1-11.11.1-1build11.11.1-1ubuntu0.25.10.11.11.1-1ubuntu0.25.10.21.11.1-1ubuntu0.26.04.31.5.0-21.5.0-2ubuntu0.11.5.0-2ubuntu0.1+esm11.5.0-2ubuntu0.1+esm2Exploitability
AV:NAC:HAT:NPR:NUI:NVulnerable System
VC:LVI:LVA:HSubsequent System
SC:NSI:NSA:NCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N