CVE-2026-15370 Details
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.
A stack-based buffer overflow vulnerability has been identified in libssh's SFTP server implementation. During directory listings, the server constructs the longname field by unsafely concatenating data into a fixed-size stack buffer. This flaw allows an attacker to overflow the buffer by providing excessively long filenames, potentially leading to crashes or arbitrary code execution on the server.
A fix for this vulnerability has been developed but is not yet available. Users should monitor Red Hat's security advisories for the release of the patch.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:47768 | [email protected] | Vendor Advisory |
| https://access.redhat.com/errata/RHSA-2026:55855 | [email protected] | Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2026-15370 | [email protected] | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2499049 | [email protected] | Issue TrackingVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libssh libssh | >= 0.11.0, < 0.11.5 0.12.0 |
CPE
Remediation
| |
| redhat hardened images | All versions |
CPE
Remediation
| |
| redhat enterprise linux | 10.0 10.2 |
CPE
Remediation
| |
| redhat enterprise linux for els | 10.2 |
CPE
Remediation
| |
| redhat enterprise linux for eus | 10.2 |
CPE
Remediation
| |
| redhat enterprise linux for ibm z systems | 10.0 10.2 |
CPE
Remediation
| |
| redhat enterprise linux for ibm z systems els | 10.2 |
CPE
Remediation
| |
| redhat enterprise linux for ibm z systems eus | 10.2 |
CPE
Remediation
| |
| redhat enterprise linux for power little endian | 10.0 10.2 |
CPE
Remediation
| |
| redhat enterprise linux for power little endian els | 10.2 |
CPE
Remediation
| |
| redhat enterprise linux for power little endian eus | 10.2 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | [email protected] |
| Sep 22, 2026 | Modified Analysis | [email protected] |
| Aug 17, 2026 | CVE Modified | [email protected] |
| Jul 30, 2026 | Initial Analysis | [email protected] |
| Jul 30, 2026 | CVE Modified | [email protected] |
| Jul 22, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | New CVE Received | [email protected] |