Skip to content
VulniPulse
Medium6.7Red Hat Linux

Medium [CVE-2026-15370] stack buffer overflow in SFTP server longname construction

This medium-severity Red Hat Linux advisory covers CVE-2026-15370 affecting Red Hat Enterprise Linux 10, Red Hat Hardened Images, Red Hat package: libssh.

CVE-2026-15370 Published Jul 21, 2026Updated by vendor Jul 21, 2026
Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open vendor advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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 severity: Moderate — CVSS 6.7 (CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H).

Weakness: CWE-121. Affected Red Hat products: Red Hat Enterprise Linux 10; Red Hat Hardened Images.

Red Hat lists Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 9 as not affected. Red Hat fixing advisory: RHSA-2026:55855, RHSA-2026:47768.

Affected products named by the advisory: Red Hat package: libssh.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 6 days ago·verify at source

Fixed versions
  • libssh-0:0.12.0-3.el10_2
  • libssh-main-0.12.2-1.hum1
  • RHSA-2026:55855
  • RHSA-2026:47768

Official advisory · high-confidence parse· fetched 6 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • No workaround available.

Official advisory · high-confidence parse· fetched 6 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.