CVE-2026-15370

published 21 Jul 2026 · updated 5 Nov 2026

Libssh: libssh: stack buffer overflow in sftp server longname construction

6.7MediumCVSS 6.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.11.5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatHardened Images
libsshlibssh>=0.11.0 <0.11.5, =0.12.00.11.5
redhatenterprise_linux=10.2, =10.0
redhatenterprise_linux_for_els=10.2
redhatenterprise_linux_for_eus=10.2
redhatenterprise_linux_for_ibm_z_systems=10.0, =10.2
redhatenterprise_linux_for_ibm_z_systems_els=10.2
redhatenterprise_linux_for_ibm_z_systems_eus=10.2
redhatenterprise_linux_for_power_little_endian=10.0, =10.2
redhatenterprise_linux_for_power_little_endian_els=10.2
redhatenterprise_linux_for_power_little_endian_eus=10.2
redhathardened_images

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-15370 severity on Zeptric[![CVE-2026-15370](https://zeptric.io/badge/cve/CVE-2026-15370.svg)](https://zeptric.io/cve/CVE-2026-15370)