CVE-2026-15370

medium

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.

References

https://bugzilla.redhat.com/show_bug.cgi?id=2499049

https://access.redhat.com/security/cve/CVE-2026-15370

Details

Source: Mitre, NVD

Published: 2026-07-21

Updated: 2026-07-22

Risk Information

CVSS v2

Base Score: 6

Vector: CVSS2#AV:L/AC:H/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 6.7

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Severity: Medium

EPSS

EPSS: 0.00105