CVE-2026-58050 libssh2 - Integer Overflow in publickey Subsystem Attribute Allocation
설명
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개
-
libssh2
libssh2
영향 받는 버전
- 1.11.1 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 3건
- github.com https://github.com/bikini/exploitarium/tree/main/libssh2-publickey-list-calc-poc (새 창)
- github.com https://github.com/libssh2/libssh2/blob/master/src/publickey.c (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/libssh2-integer-overflow-in-publickey-subsystem-attribute-allocation (새 창)