CVE-2026-15370

Medium

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.

SeverityMedium
CVSS6.7
Exploit probability—
ProductLibssh
PublishedJul 21, 2026
First seenJul 21, 2026
Weakness typeCWE-121CWE-121

How to fix

Affected products

ProductAffected versionsFixed in
libssh libssh0.11.0 ≤ v < 0.11.5, 0.12.00.11.5
redhat hardened_imagesNo range specified—
redhat enterprise_linux10.0, 10.2—
redhat enterprise_linux_for_els10.2—
redhat enterprise_linux_for_eus10.2—
redhat enterprise_linux_for_ibm_z_systems10.0, 10.2—
redhat enterprise_linux_for_ibm_z_systems_els10.2—
redhat enterprise_linux_for_ibm_z_systems_eus10.2—
redhat enterprise_linux_for_power_little_endian10.0, 10.2—
redhat enterprise_linux_for_power_little_endian_els10.2—
redhat enterprise_linux_for_power_little_endian_eus10.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.