PT-2026-64381 · Libssh2 · Libssh2

·

CVE-2026-66034

·

Published

2026-07-24

·

Updated

2026-09-02

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions libssh2 versions prior to 1.11.1
Description A missing bounds check in the publickey subsystem allows a malicious SSH server to trigger an arbitrary-length heap out-of-bounds read and the free of an uninitialized pointer. In the libssh2 publickey list fetch() function, the version 1 response parser reads a server-controlled comment len value and advances the parse pointer without verifying if sufficient bytes remain in the buffer. This leads to an out-of-bounds read that can leak heap pointers from adjacent allocations, defeating ASLR (Address Space Layout Randomization, a security technique that randomly arranges the address space positions of key data areas). Subsequently, heap allocator state corruption occurs when the error cleanup path frees an uninitialized pointer from a non-zeroed realloc() region.
Recommendations Update to the version containing commit a13bb6c.

Exploit

Fix

Use of Uninitialized Resource

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-93393
AZL-97410
CVE-2026-66034
ECHO-3F90-0490-A5DB
JLSEC-2026-1087
OESA-2026-3392
OESA-2026-3393
OESA-2026-3394
OESA-2026-3395
OESA-2026-3479
OPENSUSE-SU-2026:11454-1
OPENSUSE-SU-2026:21549-1
RHSA-2026:46927
SUSE-SU-2026:23049-1
SUSE-SU-2026:23187-1
SUSE-SU-2026:23214-1
SUSE-SU-2026:23225-1
SUSE-SU-2026:23245-1
SUSE-SU-2026:3525-1
SUSE-SU-2026:3526-1
SUSE-SU-2026:3541-1

Affected Products

Libssh2