CVE-2026-15370: Libssh
High severity, CVSS 7.3. EPSS: 0.2% chance of exploitation in the next 30 days.
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 products
- Libssh Libssh: from 0.11.0, before 0.11.5 (fixed in 0.11.5); version 0.12.0 only
- Red Hat Enterprise Linux: version 10.0 only; version 10.2 only
- Red Hat Enterprise Linux For Els: version 10.2 only
- Red Hat Enterprise Linux For Eus: version 10.2 only
- Red Hat Enterprise Linux For IBM Z Systems: version 10.0 only; version 10.2 only
- Red Hat Enterprise Linux For IBM Z Systems Els: version 10.2 only
- Red Hat Enterprise Linux For IBM Z Systems Eus: version 10.2 only
- Red Hat Enterprise Linux For Power Little Endian: version 10.0 only; version 10.2 only
- Red Hat Enterprise Linux For Power Little Endian Els: version 10.2 only
- Red Hat Enterprise Linux For Power Little Endian Eus: version 10.2 only
- Red Hat Hardened Images: affected versions not specified
Published 2026-07-21. Last modified 2026-09-22.