CVE-2026-15370

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.

CVSS base score
6.7 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-121
Last modified
November 5, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Affected products

libssh libssh redhat hardened images redhat enterprise linux redhat enterprise linux for els redhat enterprise linux for eus redhat enterprise linux for ibm z systems redhat enterprise linux for ibm z systems els redhat enterprise linux for ibm z systems eus redhat enterprise linux for power little endian redhat enterprise linux for power little endian els

References

View full NVD advisory →

More libssh vulnerabilities

Published the same day

← Back to CVE watch