MEDIUM · 6.7

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 at...

Vulnerability 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.

CVSS Score

6.7

MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
LibsshLibssh-
RedhatHardened Images-
RedhatEnterprise Linux10.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2026-15370?

CVE-2026-15370 is a vulnerability with a CVSS score of 6.7 (MEDIUM). 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 at...

How severe is CVE-2026-15370?

CVE-2026-15370 has been rated MEDIUM with a CVSS base score of 6.7/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2026-15370?

Check the references section above for vendor advisories and patch information. Affected products include: Libssh Libssh, Redhat Hardened Images, Redhat Enterprise Linux.