Out-of-bounds Read
CVE-2026-66034
Summary
libssh2 versions through 1.11.1, contains a missing bounds check vulnerability that allows a malicious SSH server to trigger an arbitrary-length heap Out-of-bounds Read and a free of an uninitialized pointer via the publickey subsystem. In 'libssh2_publickey_list_fetch()', the version 1 response parser reads a server-controlled 'comment_len' value and advances the parse pointer without verifying sufficient bytes remain in the buffer, causing the Out-of-bounds Read to leak heap pointers from adjacent allocations defeating ASLR, followed by heap allocator state corruption when the error cleanup path frees an uninitialized pointer from a non-zeroed 'realloc()' region.
- HIGH
- NETWORK
- HIGH
- UNCHANGED
- REQUIRED
- NONE
- HIGH
- HIGH
CWE-125 - Out-of-Bounds Read
Out-of-bounds read is a vulnerability that allows access to memory beyond the authorized accessible location. Such a vulnerability compromises the confidentiality of the trusted environment in the application and enables an attacker to launch further attacks by leveraging the exposed information.
References
Advisory Timeline
- Published