CVE-2026-15370
Libssh: libssh: stack buffer overflow in sftp server longname construction
- Severity
- medium CVSS 6.7 (v3.1)
- Affects
- Red Hat Enterprise Linux 10 · Red Hat
- Weakness
- CWE-121: Stack-based Buffer Overflow
- Published
- 21 July 2026 by redhat
- First seen on our lists
- 21 July 2026
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.
Our coverage
On the lists
- [oss-security] libssh 0.12.1 and 0.11.5 security releases