{"id":"UBUNTU-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-08-31T17:15:58.866708705Z","published":"2026-07-21T09:16:00Z","related":["USN-8699-1"],"upstream":["CVE-2026-15370"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-15370"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-15370"},{"type":"REPORT","url":"https://www.libssh.org/2026/07/21/libssh-0-12-1-and-0-11-5-security-releases/"},{"type":"REPORT","url":"https://www.libssh.org/security/advisories/CVE-2026-15370.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8699-1"}],"affected":[{"package":{"name":"libssh","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libssh?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.3-1ubuntu2.1"}]}],"versions":["0.11.2-1build1","0.11.3-1","0.11.3-1ubuntu1","0.11.3-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libssh-4","binary_version":"0.11.3-1ubuntu2.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-15370.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}