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—
Product
Libssh
PublishedJul 21, 2026
First seenJul 21, 2026
Weakness typeCWE-121CWE-121
How to fix
Update
- libssh libssh0.11.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libssh libssh | 0.11.0 ≤ v < 0.11.5, 0.12.0 | 0.11.5 |
| redhat hardened_images | No range specified | — |
| redhat enterprise_linux | 10.0, 10.2 | — |
| redhat enterprise_linux_for_els | 10.2 | — |
| redhat enterprise_linux_for_eus | 10.2 | — |
| redhat enterprise_linux_for_ibm_z_systems | 10.0, 10.2 | — |
| redhat enterprise_linux_for_ibm_z_systems_els | 10.2 | — |
| redhat enterprise_linux_for_ibm_z_systems_eus | 10.2 | — |
| redhat enterprise_linux_for_power_little_endian | 10.0, 10.2 | — |
| redhat enterprise_linux_for_power_little_endian_els | 10.2 | — |
| redhat enterprise_linux_for_power_little_endian_eus | 10.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.