CVE-2026-15370
MEDIUMLibssh: libssh: stack buffer overflow in sftp server longname construction
Title source: cnaDescription
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.
References (3)
Core 3
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry
x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-15370
Issue Tracking, X_Refsource_Redhat issue-tracking
x_refsource_redhat
RHBZ#2499049
https://bugzilla.redhat.com/show_bug.cgi?id=2499049
Vendor Advisory vendor-advisory
x_refsource_redhat
RHSA-2026:47768
https://access.redhat.com/errata/RHSA-2026:47768
Scores
CVSS v3
6.7
EPSS
0.0016
EPSS Percentile
5.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-121
Status
published
Products (8)
libssh/libssh
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat Hardened Images
Red Hat/Red Hat Hardened Images
0.12.2-1.hum1
redhat/enterprise_linux
10.0
redhat/hardened_images
Published
Jul 21, 2026
Tracked Since
Jul 21, 2026