CVE-2026-15370CWE-121

CVE-2026-15370

Medium · published July 21, 2026

CVSS v3.1
6.7
EPSS
0%
Percentile
5.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00168 · 5.7th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2026-07-21T13:16Z
Affected products (20)
ProductVersionsFixed in
libssh/libssh≥ 0.11.0, < 0.11.50.11.5
libssh/libsshall versions—
redhat/hardened_imagesall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linux_for_power_little_endianall versions—
redhat/enterprise_linux_for_power_little_endianall versions—
redhat/enterprise_linux_for_power_little_endian_elsall versions—
redhat/enterprise_linux_for_power_little_endian_eusall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linux_for_elsall versions—
redhat/enterprise_linux_for_elsall versions—
redhat/enterprise_linux_for_eusall versions—
redhat/enterprise_linux_for_ibm_z_systems_eusall versions—
redhat/enterprise_linux_for_eusall versions—
redhat/enterprise_linux_for_ibm_z_systemsall versions—
redhat/enterprise_linux_for_ibm_z_systemsall versions—
redhat/enterprise_linux_for_ibm_z_systems_elsall versions—
References (4)
EPSS history
Timeline
  • 21 JUL 09:07Z
    Libssh: libssh: stack buffer overflow in sftp server longname construction
    cvelistv5