Stack-based Buffer Overflow Affecting libssh-config package, versions <0:0.12.0-3.el10_2


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-LIBSSHCONFIG-18873399
  • published18 Aug 2026
  • disclosed21 Jul 2026

Introduced: 21 Jul 2026

NewCVE-2026-15370  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade RHEL:10 libssh-config to version 0:0.12.0-3.el10_2 or higher.
This issue was patched in RHSA-2026:55855.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh-config package and not the libssh-config package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1