« List of all CVEs

CVE-2026-15370

Libssh: libssh: stack buffer overflow in sftp server longname construction

Published: 7/21/2026 Last updated: 8/17/2026 Reserved: 7/10/2026

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 6.7 Medium CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Opam packages affected (1)

libssh

Products affected (0)

No product listed.

References (4)

Credits (1)