Skip to content
Red HatCVE-2026-15370

Red Hat libssh. During SFTP server directory listing: code execution

Medium6.7CVE-2026-15370 · Published Jul 21, 2026 · updated Sep 22, 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.

Red Hat advisory

Affected versions

PackageAffectedFixed in
Red Hat Enterprise Linux 8
Product
all versionsNo fix yet
Red Hat Enterprise Linux 9
Product
all versionsNo fix yet
Details and references

More Red Hat advisories

All Red Hat
Advisory
Red Hat libarchive: integer overflow
Low2.9Jul 21
Red Hat Enterprise Linux 10: information disclosure
Low3.4Jul 21
Red Hat Enterprise Linux 10: out-of-bounds read
Medium4.2Jul 21
Red Hat ansible-core: argument injection
High7.8Jul 21
Red Hat libssh. Logic errors: denial of service
Low3.1Jul 21
Red Hat libssh: use after free
Medium4.3Jul 21

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.