Medium severity6.7NVD Advisory· Published Jul 21, 2026· Updated Sep 22, 2026
CVE-2026-15370
CVE-2026-15370
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
33- osv-coords11 versionspkg:apk/wolfi/libsshpkg:apk/chainguard/libssh2pkg:apk/wolfi/libssh-devpkg:apk/chainguard/libsshpkg:rpm/opensuse/libssh&distro=openSUSE%20Leap%2016.0pkg:apk/chainguard/libssh-devpkg:rpm/opensuse/libssh&distro=openSUSE%20Tumbleweedpkg:rpm/almalinux/libsshpkg:rpm/almalinux/libssh-develpkg:apk/wolfi/libssh2pkg:rpm/almalinux/libssh-config
< 0.12.1-r0+ 10 more
- (no CPE)range: < 0.12.1-r0
- (no CPE)range: < 0
- (no CPE)range: < 0.12.1-r0
- (no CPE)range: < 0.12.1-r0
- (no CPE)range: < 0.11.5-160000.1.1
- (no CPE)range: < 0.12.1-r0
- (no CPE)range: < 0.11.5-1.2
- (no CPE)range: < 0.12.0-3.el10_2
- (no CPE)range: < 0.12.0-3.el10_2
- (no CPE)range: < 0
- (no CPE)range: < 0.12.0-3.el10_2
- cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*+ 4 more
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:arm64:*
- cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:x64:*
- cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:arm64:*
- cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:x64:*
cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:arm64:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:arm64:*
- cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:x64:*
cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:arm64:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:arm64:*
- cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:x64:*
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_els:10.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:10.2:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.0:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:10.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_els:10.2:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:10.2:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
4- access.redhat.com/errata/RHSA-2026:47768nvdVendor Advisory
- access.redhat.com/errata/RHSA-2026:55855nvdVendor Advisory
- access.redhat.com/security/cve/CVE-2026-15370nvdVendor Advisory
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingVendor Advisory
News mentions
1- Libssh: Eleven Vulnerabilities Disclosed Together, Including Auth Bypass and DoSVypr Intelligence · Jul 21, 2026