Stack-based buffer overflow in libssh - CVE-2026-15370
Published: July 27, 2026
libssh
Detailed vulnerability description
The vulnerability allows a local user to execute arbitrary code.
The vulnerability exists due to stack-based buffer overflow in the sftp server longname field construction when listing an attacker-controlled directory with long filenames. A local user can cause a user to list a crafted directory to execute arbitrary code.
User interaction is required to list files in an attacker-controlled directory on a filesystem that allows long filenames.