CVE-2026-15370: Libssh: libssh: stack buffer overflow in sftp server longname construction
Long directory entries can crash an affected SFTP server or allow code execution.
CVE published 2026-07-21 · Record updated 2026-08-17 · Snapshot checked 24 October 2026
Why this matters
Long directory entries can crash an affected SFTP server or allow code execution.
CVSS 3.1: 6.7 (MEDIUM). Source: CVE assigning authority.
A severity score describes the vulnerability, not the probability that your own website has been compromised. Exposure depends on the installed version, configuration and reachable code path.
When to check your system
Ubuntu 26.04 LTS applications using the affected libssh SFTP server implementation. This is not the OpenSSH daemon.
How to address it
Update libssh to the vendor-fixed package and restart applications loading the library.
Record the installed package and vendor build, check the advisory’s prerequisites, back up, apply the vendor fix and test the affected site functions. Distribution packages may include backported fixes without changing the upstream version number.
Sources
This page summarises a selected advisory. It is not evidence that a particular website is vulnerable. Where an advisory covers several CVEs, check the linked record for this CVE’s exact affected range.