Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Red Hat / Red Hat Enterprise Linux 10 | unaffected 0:0.12.0-3.el10_2 before * |
| Red Hat / Red Hat Hardened Images | unaffected 0.12.2-1.hum1 before * |
| Red Hat / Red Hat Enterprise Linux 8 | unaffected |
| Red Hat / Red Hat Enterprise Linux 9 | unaffected |
CWE
CWE-121
References
- https://access.redhat.com/errata/RHSA-2026:47768
- https://access.redhat.com/errata/RHSA-2026:55855
- https://access.redhat.com/security/cve/CVE-2026-15370
- https://bugzilla.redhat.com/show_bug.cgi?id=2499049
ADP enrichment
No English description supplied.
No references supplied.