CVE-2026-15370
High 7.3No known exploitationFix status unknownLibssh: libssh: stack buffer overflow in sftp server longname construction
Record last updated
CVSS score
7.3
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
0.2%
Higher than 3% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
None
Not in the KEV catalog
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.
Weakness: CWE-121
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- No workaround available. Source (opens in a new tab)
- Vendor guidance
- access.redhat.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| libssh | libssh | from 0.11.0 before 0.11.5 | 0.11.5 | NIST NVD |
| libssh | libssh | 0.12.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_els | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_els | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_eus | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_eus | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_ibm_z_systems | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_ibm_z_systems | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_ibm_z_systems_els | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_ibm_z_systems_eus | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_power_little_endian | 10.0 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_power_little_endian | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_power_little_endian_els | 10.2 | Not documented | NIST NVD |
| redhat | enterprise_linux_for_power_little_endian_eus | 10.2 | Not documented | NIST NVD |
| redhat | hardened_images | Not documented | Not documented | NIST NVD |
| Red Hat | Red Hat Enterprise Linux 10 (unaffected) | 0:0.12.0-3.el10_2 | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 8 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Enterprise Linux 9 (status unknown) | Not documented | Not documented | CVE Program |
| Red Hat | Red Hat Hardened Images (unaffected) | 0.12.2-1.hum1 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by redhat
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- RHSA-2026:47768 (opens in a new tab)vendor advisory, vendor-advisory, x_refsource_redhat
- RHSA-2026:55855 (opens in a new tab)vendor advisory, vendor-advisory, x_refsource_redhat
- https://access.redhat.com/security/cve/CVE-2026-15370 (opens in a new tab)vdb-entry, vendor advisory, x_refsource_redhat
- RHBZ#2499049 (opens in a new tab)issue tracking, issue-tracking, vendor advisory, x_refsource_redhat