Logo
vulnerabilityCVE-2026-58050
Name
CVE-2026-58050
Source
NVD ( link)Debian ( link)
Description
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libssh2
Exploitable

Vulnerability Ratings#


8.3
CVSSv4
7
CVSSv31
7.5
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
1.11.1
Exploitable
openwrt
master
1.11.1-r1
Exploitable
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 (yocto:master)

#
Title
Author
Resolve
1
publickey: fix potential multiplication overflow in 32-bit
Viktor Szakats <commit@vsz.me>
CVE-2026-58050