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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 8 Product | all versions | No fix yet |
| Red Hat Enterprise Linux 9 Product | all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-121
More Red Hat advisories
All Red Hat| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 21 | Red Hat libarchive: integer overflow | Low2.9 | No fix yet |
| Jul 21 | Red Hat Enterprise Linux 10: information disclosure | Low3.4 | No fix yet |
| Jul 21 | Red Hat Enterprise Linux 10: out-of-bounds read | Medium4.2 | No fix yet |
| Jul 21 | Red Hat ansible-core: argument injection | High7.8 | No fix yet |
| Jul 21 | Red Hat libssh. Logic errors: denial of service | Low3.1 | No fix yet |
| Jul 21 | Red Hat libssh: use after free | Medium4.3 | No fix yet |