Description
A flaw was found in libssh in which a malicious SFTP (SSH File Transfer Protocol) server can exploit this by sending a malformed 'longname' field within an `SSH_FXP_NAME` message during a file listing operation. This missing null check can lead to reading beyond allocated memory on the heap. This can cause unexpected behavior or lead to a denial of service (DoS) due to application crashes.
Affected products
libssh: libssh; redhat: enterprise linux
References5
- access.redhat.com/errata/RHSA-2026:18160
- access.redhat.com/errata/RHSA-2026:18683
- access.redhat.com/security/cve/CVE-2026-0968 Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2436982 Third Party Advisory
- www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-rel… Release Notes
Metrics
- CVSS 3.1
-
3.1
LOW
Score source: NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L - EPSS — exploit probability
- 0% percentile: 41 · as of 12 November 2026
- CWE
- CWE-476
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.