Logo
vulnerabilityCVE-2026-66034
Name
CVE-2026-66034
Source
NVD ( link)Debian ( link)
Description
libssh2 through 1.11.1, fixed in commit a13bb6c, 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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libssh2
Exploitable

Vulnerability Ratings#


7.7
CVSSv4
7.5
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
1.11.1
Exploitable
buildroot
master
1.11.1
Patched
openwrt
openwrt-25.12
1.11.1-r1
Exploitable
yocto
kirkstone
1.10.0
Exploitable
yocto
master
1.11.1
Patched
yocto
scarthgap
1.11.1
Exploitable

Resolved with patches#


libssh2 (buildroot:master)

#
Title
Author
Resolve
1
publickey: fix potential OOB read in
Viktor Szakats <commit@vsz.me>
CVE-2026-66034

libssh2 (yocto:master)

#
Title
Author
Resolve
1
publickey: fix potential OOB read in
Viktor Szakats <commit@vsz.me>
CVE-2026-66034