CVE-2026-15370
Analyzed
Analyzed - Analysis Complete
libssh SFTP Longname Stack Buffer Overflow
Vulnerability report for CVE-2026-15370, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-07-21
Last updated on: 2026-09-22
Assigner: redhat-SADP
Description
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 Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| redhat | enterprise_linux | 10.0 |
| redhat | enterprise_linux | 10.2 |
| redhat | enterprise_linux_for_els | 10.2 |
| redhat | enterprise_linux_for_eus | 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems | 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems_els | 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems_eus | 10.2 |
| redhat | enterprise_linux_for_power_little_endian | 10.0 |
| redhat | enterprise_linux_for_power_little_endian | 10.2 |
| redhat | enterprise_linux | 10.0 |
| redhat | enterprise_linux | 10.2 |
| redhat | enterprise_linux_for_els | 10.2 |
| redhat | enterprise_linux_for_eus | 10.2 |
| redhat | enterprise_linux_for_power_little_endian_els | 10.2 |
| redhat | enterprise_linux_for_power_little_endian_eus | 10.2 |
| redhat | enterprise_linux_for_ibm_z_systems | 10.0 |
| redhat | enterprise_linux | 10.0 |
| redhat | hardened_images | * |
| libssh | libssh | 0.12.0 |
| libssh | libssh | From 0.11.0 (inc) to 0.11.5 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-121 | A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function). |