CVE-2026-0968

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

State
Published
Severity
3.1 Low
Published
Mar 26, 2026
Updated
Oct 16, 2026
Reserved
Jan 14, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.1 LowCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:Lredhat

Weaknesses

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 0:0.12.0-2.el10 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:0.10.4-18.el9 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:0.10.4-18.el9 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 8Red Hat
        Red Hat Hardened ImagesRed Hat
          Red Hat OpenShift Container Platform 4Red Hat
            Red Hat OpenShift Container Platform 4Red Hat

              References

              Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.