CVE Catalog

CVE-2026-15370

MediumCVSS 6.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

6th percentile - higher than 6% of all known CVEs

Summary

In libssh, during SFTP directory listing, the longname field is constructed via unsafe concatenation into a fixed-size stack buffer. Long filenames can overflow the buffer, leading to crashes or potential code execution on the server.

Risk Assessment

A malicious SFTP client can crash the server or gain control by sending specially crafted filenames.

Recommendation

Update libssh to a version with the fix. Restrict SFTP server access to trusted clients only.

Other vulnerabilities in libssh

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS