CVE-2026-15370

EUVD-2026-46169
A flaw was found in libssh. During SFTP server directory listing, the longname field is constructed with unsafe concatenation into a fixed-size stack buffer. When a client causes the server to list attacker-controlled filenames, sufficiently long names can overflow that stack buffer and may lead to crashes or possible code execution on the server.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
6.7 MEDIUM
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 4.73%
Affected Products (NVD)
VendorProductVersion
libsshlibssh
-
redhathardened_images
-
redhatenterprise_linux
10.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libssh
bookworm
vulnerable
bookworm (security)
vulnerable
forky
0.12.2-1
fixed
sid
0.12.2-1
fixed
trixie
vulnerable
trixie (security)
0.11.5-0+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libssh
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
not-affected
resolute
Fixed 0.11.3-1ubuntu2.1
released
xenial
not-affected