# CVE-2026-0968: Libssh: libssh: denial of service due to malformed sftp message

- Severity: Low 3.1 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.52%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-03-26T20:06:29.554Z
- Modified: 2026-11-25T16:17:32.253Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libssh: no versions given (not affected: from 0:0.12.0-2.el10 before *; from 0:0.10.4-18.el9 before *)
- libssh2: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- libssh libssh: up to 0.11.3
- redhat enterprise_linux: 9.0; 10.0

## Every score

- redhat: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 3.1 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L`

## References

- <https://access.redhat.com/errata/RHSA-2026:18160> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:18683> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-0968> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2436982> (issue-tracking, third-party-advisory)
- <https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/> (release-notes)

## Sources

- CVE List: [CVE-2026-0968](https://www.cve.org/CVERecord?id=CVE-2026-0968), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-0968](https://nvd.nist.gov/vuln/detail/CVE-2026-0968), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-0968 · Whole record: https://cve.day/CVE-2026-0968.json · Rebuilt by cve.day 2026-11-25T23:18:26.977Z
