« List of all CVEs

CVE-2026-0968

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

Published: 3/26/2026 Last updated: 4/3/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.0 3.1 Low CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Opam packages affected (1)

libssh

Products affected (4)

Product Vendor Version
Red Hat Enterprise Linux 10 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat n/a
Red Hat Enterprise Linux 6 Red Hat n/a
Red Hat Enterprise Linux 7 Red Hat n/a

References (6)

Credits (2)