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
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libssh | Libssh | - |
| Redhat | Hardened Images | - |
| Redhat | Enterprise Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/errata/RHSA-2026:47768Vendor Advisory
- https://access.redhat.com/errata/RHSA-2026:55855
- https://access.redhat.com/security/cve/CVE-2026-15370Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2499049Issue TrackingVendor Advisory
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.