{"id":"DEBIAN-CVE-2026-15370","details":"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.","modified":"2026-09-23T08:47:31.037927067Z","published":"2026-07-21T09:16:53.683Z","upstream":["CVE-2026-15370"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-15370"}],"affected":[{"package":{"name":"libssh","ecosystem":"Debian:12","purl":"pkg:deb/debian/libssh?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.5-2","0.10.5-3","0.10.5-3+hurd.1","0.10.6-0+deb12u1","0.10.6-0+deb12u2","0.10.6-1","0.10.6-2","0.10.6-3","0.11.1-1","0.11.1-2","0.11.2-1","0.11.3-1","0.12.0-1","0.12.0-2","0.12.0-3","0.12.1-1","0.12.2-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-15370.json"}},{"package":{"name":"libssh","ecosystem":"Debian:13","purl":"pkg:deb/debian/libssh?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.5-0+deb13u1"}]}],"versions":["0.11.2-1","0.11.2-1+deb13u1","0.11.3-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-15370.json"}},{"package":{"name":"libssh","ecosystem":"Debian:14","purl":"pkg:deb/debian/libssh?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.12.1-1"}]}],"versions":["0.11.2-1","0.11.3-1","0.12.0-1","0.12.0-2","0.12.0-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-15370.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"}]}