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.
Exploitability Profile
Exploited in the wild
1 monitored report
Available
0 PoC signals · 2 repos
Confirmed
1 patch mentions · 5 advisories
Stable
Peak 3 on Jul 21, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Apply vendor patch or virtual patch immediately, verify exposed assets, and run SOC compromise hunts.
Triage Priority
CVSS v3.1
Authoritative NIST NVD score · 2 sources compared below
4mentions
Across 2 tracked days
| Authority | Version | Score | Vector String |
|---|---|---|---|
NISTNIST NVD | v3.1 | 7.3HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
CNARed Hat | v3.1 | 6.7MEDIUM | CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H |
4 total mentions across 2 observed days · Peak 3 on Jul 21, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.
Normalized NVD configurations scoped by vendor, product, version, and platform.
Affected Products
| Part | Vendor | Product | Version | CPE 2.3 URI |
|---|---|---|---|---|
| App | Libssh | All versions | cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* | |
| App | Libssh | 0.12.0 | cpe:2.3:a:libssh:libssh:0.12.0:*:*:*:*:*:*:* | |
| OS | Red Hat | 10.0 | cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* | |
| OS | Red Hat | Enterprise Linuxarm64 | 10.0 | cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:arm64:* |
| OS | Red Hat | 10.0 | cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:x64:* | |
| OS | Red Hat | Enterprise Linuxarm64 | 10.2 | cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:arm64:* |
| OS | Red Hat | 10.2 | cpe:2.3:o:redhat:enterprise_linux:10.2:*:*:*:*:*:x64:* | |
| OS | Red Hat | 10.2 | cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:arm64:* | |
| OS | Red Hat | 10.2 | cpe:2.3:o:redhat:enterprise_linux_for_els:10.2:*:*:*:*:*:x64:* | |
| OS | Red Hat | 10.2 | cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:arm64:* | |
| OS | Red Hat | 10.2 | cpe:2.3:o:redhat:enterprise_linux_for_eus:10.2:*:*:*:*:*:x64:* | |
| OS | Red Hat | 10.0 | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.0:*:*:*:*:*:*:* | |
| OS | Red Hat | 10.2 | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:10.2:*:*:*:*:*:*:* | |
| OS | Red Hat | 10.2 | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_els:10.2:*:*:*:*:*:*:* | |
| OS | Red Hat | 10.2 | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:10.2:*:*:*:*:*:*:* |