← CVE Intelligence

CVE-2026-15370

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Red Hat / Red Hat Enterprise Linux 10unaffected 0:0.12.0-3.el10_2 before *
Red Hat / Red Hat Hardened Imagesunaffected 0.12.2-1.hum1 before *
Red Hat / Red Hat Enterprise Linux 8unaffected
Red Hat / Red Hat Enterprise Linux 9unaffected

CWE

CWE-121

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.