Vulnerability

CVE-2026-15370

highCVSS 3.1 7.3Published 21 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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

From the NVD's configuration data (CPE), vendor first.

  • Libssh libssh
  • Red Hat hardened images, enterprise linux, enterprise linux for els, enterprise linux for eus, enterprise linux for ibm z systems, enterprise linux for ibm z systems els, enterprise linux for ibm z systems eus, enterprise linux for power little endian, enterprise linux for power little endian els, enterprise linux for power little endian eus

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning