« List of all CVEs

CVE-2026-0968

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

Published: 3/26/2026 Last updated: 5/19/2026 Reserved: 1/14/2026

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 3.1 Low CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Opam packages affected (1)

libssh

Products affected (16)

Product Vendor Version
Red Hat Enterprise Linux 10 Red Hat n/a
Red Hat Enterprise Linux 9 Red Hat n/a
Red Hat Enterprise Linux 9 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat all versions as of 2019-04-03
Red Hat Enterprise Linux 10 Red Hat < 16.2R2-S7
Red Hat Enterprise Linux 9 Red Hat < 17.1R2-S10, 17.1R3
Red Hat Enterprise Linux 9 Red Hat < 17.2R1-S8, 17.2R3-S1
Red Hat Enterprise Linux 8 Red Hat < 18.1R2-S4, 18.1R3-S1
Red Hat Enterprise Linux 7 Red Hat < 17.4R1-S6, 17.4R2-S2
Red Hat Enterprise Linux 6 Red Hat < 17.3R3-S2
Red Hat Hardened Images Red Hat 2013 Cumulative Update 21
Red Hat Hardened Images Red Hat < 18.2R1-S5
Red Hat Enterprise Linux 6 Red Hat n/a
Red Hat Enterprise Linux 7 Red Hat < 64.0.3282.119
Red Hat OpenShift Container Platform 4 Red Hat < 18.2X75-D30
Red Hat OpenShift Container Platform 4 Red Hat 2016 Cumulative Update 10

References (10)

Credits (2)