CVE-2026-0968

LOW

Libssh: libssh: denial of service due to malformed sftp message

Title source: cna
STIX 2.1

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.

References (5)

Core 5
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-0968
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2436982
https://bugzilla.redhat.com/show_bug.cgi?id=2436982
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:18160
https://access.redhat.com/errata/RHSA-2026:18160
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:18683
https://access.redhat.com/errata/RHSA-2026:18683

Scores

CVSS v3 3.1
EPSS 0.0044
EPSS Percentile 35.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (12)
libssh/libssh < 0.11.3
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 10 0:0.12.0-2.el10
Red Hat/Red Hat Enterprise Linux 6
Red Hat/Red Hat Enterprise Linux 7
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat Enterprise Linux 9 0:0.10.4-18.el9
Red Hat/Red Hat Hardened Images
Red Hat/Red Hat OpenShift Container Platform 4
... and 2 more
Published Mar 26, 2026
Tracked Since Mar 27, 2026