CVE-2026-15370 in Libssh and 8 more products
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 possib...
Affects 9 products from 2 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Libssh | Libssh | 0.12.0 ≥ 0.11.0, < 0.11.5 |
| Redhat | Enterprise Linux For Ibm Z Systems | 10.0 10.2 |
| Redhat | Enterprise Linux For Ibm Z Systems Eus | 10.2 |
| Redhat | Enterprise Linux For Power Little Endian | 10.0 10.2 |
| Redhat | Enterprise Linux | 10.0 10.2 |
| Redhat | Enterprise Linux For Ibm Z Systems Els | 10.2 |
| Redhat | Enterprise Linux For Power Little Endian Els | 10.2 |
| Redhat | Hardened Images | No version listed by the source |
| Redhat | Enterprise Linux For Power Little Endian Eus | 10.2 |
| Redhat | Enterprise Linux For Els | 10.2 |
| Redhat | Enterprise Linux For Eus | 10.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-15370 |
|---|---|
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| Published | 2026-07-21 |
| Last modified | 2026-11-24 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-121: Stack-Based Buffer Overflow
Buffer overflow corrupting the program stack, typically overwriting the return address for code execution.
Analysis AI-written, not human-reviewed
A high severity vulnerability (CVE-2026-15370) affects the target system. 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 nam...
Questions
What is CVE-2026-15370?
A high severity vulnerability (CVE-2026-15370) affects the target system. 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 nam...
What is the CVSS score for CVE-2026-15370?
CVE-2026-15370 has CVSS 7.3 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2026-15370 actively exploited?
No confirmed active exploitation of CVE-2026-15370 as of 2026-11-25.
How do I remediate CVE-2026-15370?
Advisory: https://access.redhat.com/errata/RHSA-2026:47768
What systems are affected by CVE-2026-15370?
CVE-2026-15370 affects Libssh Libssh; Redhat Enterprise Linux For Ibm Z Systems, Enterprise Linux For Ibm Z Systems Eus, Enterprise Linux For Power Little Endian, Enterprise Linux, Enterprise Linux For Ibm Z Systems Els, Enterprise Linux For Power Little Endian Els, Hardened Images, Enterprise Linux For Power Little Endian Eus.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Libssh","product":"Libssh","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-24.