Skip to main content
Network Thinking Solutions Logo

CVE-2026-15370

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.

All CVEs
CVE-2026-15370Published 7/21/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.

Vendor advisory
CVSS 3.17.3High

Overview

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.

Published
7/21/2026
Last modified
11/24/2026
CVE assigner
redhat
NVD analysis
Analyzed

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
libssh
libssh
≥ 0.11.0, < 0.11.5

Verify advisory

Source
libssh
libssh
0.12.0

Verify advisory

Source
hardened images
redhat
Range not specified — verify advisory

Verify advisory

Source
enterprise linux
redhat
10.0

Verify advisory

Source
enterprise linux
redhat
10.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
enterprise linux
redhat
10.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
enterprise linux for els
redhat
10.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
enterprise linux for eus
redhat
10.2

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
enterprise linux for ibm z systems
redhat
10.0

Verify advisory

Source
enterprise linux for ibm z systems
redhat
10.2

Verify advisory

Source
enterprise linux for ibm z systems els
redhat
10.2

Verify advisory

Source
enterprise linux for ibm z systems eus
redhat
10.2

Verify advisory

Source
enterprise linux for power little endian
redhat
10.0

Verify advisory

Source
enterprise linux for power little endian
redhat
10.2

Verify advisory

Source
enterprise linux for power little endian els
redhat
10.2

Verify advisory

Source
enterprise linux for power little endian eus
redhat
10.2

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

6.7 · Medium CVSS 3.1

Scored by redhat

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

6.7 · Medium CVSS 3.1

Scored by secalert@redhat.com

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

7.3 · High CVSS 3.1

Scored by nvd@nist.gov

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Related weaknesses

Sources & references

access.redhat.com/errata/RHSA-2026:47768
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/errata/RHSA-2026:55855
vendor-advisory
x_refsource_REDHAT
Vendor Advisory
access.redhat.com/security/cve/CVE-2026-15370
vdb-entry
x_refsource_REDHAT
Vendor Advisory
bugzilla.redhat.com/show_bug.cgi?id=2499049
issue-tracking
x_refsource_REDHAT
Issue Tracking
Vendor Advisory

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.