What’s Vulnerable › Vulnerabilities

CVE-2026-15370: Libssh: libssh: stack buffer overflow in sftp server longname construction

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.

Affected products

How to fix

Upgrade to a fixed version: libssh 0.11.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-15370 or the next vulnerability affects your stack