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.
Executive briefing
The source record describes: 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. The practical risk depends on whether an affected product/version is present, reachable and configured in an exploitable way. Review the affected-product evidence and linked vendor advisories before assigning exposure status.
Evidence confidence: Moderate Evidence-derived, not an exploitability verdict
Severity & attack characteristics
CVSS vector:CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Technical explanation & impact
The technical mechanism is not expanded beyond the source description unless a referenced advisory supplies additional evidence. Read the linked vendor/CERT advisories for root-cause detail.
Potential impact must be interpreted from the published CVSS impact metrics and the affected component. A CVSS impact score is not proof that a particular asset is exploitable.
Weakness classification
CWE-121Affected products and versions
Products below are parsed from NVD vulnerable CPE configuration entries. Version boundaries are shown as published; verify applicability with the vendor.
| Vendor | Product | Version evidence |
|---|---|---|
| libssh | libssh | from (inclusive) 0.11.0; before 0.11.5 · CPE version 0.12.0 |
| redhat | hardened_images | Version not specified in CPE |
| redhat | enterprise_linux | CPE version 10.0 · CPE version 10.0 · CPE version 10.0 · CPE version 10.2 · CPE version 10.2 |
| redhat | enterprise_linux_for_els | CPE version 10.2 · CPE version 10.2 |
| redhat | enterprise_linux_for_eus | CPE version 10.2 · CPE version 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems | CPE version 10.0 · CPE version 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems_els | CPE version 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems_eus | CPE version 10.2 |
| redhat | enterprise_linux_for_power_little_endian | CPE version 10.0 · CPE version 10.2 |
| redhat | enterprise_linux_for_power_little_endian_els | CPE version 10.2 |
| redhat | enterprise_linux_for_power_little_endian_eus | CPE version 10.2 |
Remediation & validation
- Identify exposure by comparing the affected product and version ranges with your asset inventory, SBOM and externally exposed services.
- Review the linked vendor security advisory or patch notes. Upgrade to a vendor-confirmed fixed release; do not infer a fixed version from the CVE description.
- Until patched, consider restricting network access or disabling the affected feature where operationally safe. These are temporary controls, not a substitute for a vendor fix.
- Validate the remediation with a version check and vulnerability rescan, then retain change evidence.
No fixed version is displayed unless it is explicitly established by a vendor advisory. Follow the vendor's release notes for exact product and branch applicability.
Vendor advisories, patches & exploit references
- https://access.redhat.com/errata/RHSA-2026:47768 ADVISORY secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:55855 ADVISORY secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2026-15370 ADVISORY secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2499049 ADVISORY secalert@redhat.com