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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-03-26 · Modified: 2026-11-25
- Aliases: UBUNTU-CVE-2026-0968, DEBIAN-CVE-2026-0968, ALPINE-CVE-2026-0968
- Record: https://cvemate.com/vulnerability/CVE-2026-0968 · JSON: https://cvemate.com/vulnerability/CVE-2026-0968/json

## Description

```text
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.
```

## Signals

- CVSS: 3.1 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
- EPSS: 0.515%, percentile 45.378%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libssh (Alpine Linux): \< 0.11.4-r0 \| \< 0.12.0-r0
- debian libssh (Debian): All versions (No fix recorded) \| \< 0.10.6-0+deb12u3 \| \< 0.11.5-0+deb13u1 \| \< 0.12.0-1
- ubuntu libssh (Ubuntu): \< 0.6.3-4.3ubuntu0.6+esm4 \| \< 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 \| \< 0.9.3-2ubuntu2.5+esm3 \| \< 0.9.6-2ubuntu0.22.04.6 \| \< 0.10.6-2ubuntu0.3 \| \< 0.11.2-1ubuntu0.2
- libssh libssh: ≤ 0.11.3
- redhat enterprise\_linux: 9.0 \| 10.0

## References

- <https://access.redhat.com/errata/RHSA-2026:18160>
- <https://access.redhat.com/errata/RHSA-2026:18683>
- <https://access.redhat.com/security/cve/CVE-2026-0968>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2436982>
- <https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/>
- <https://ubuntu.com/security/CVE-2026-0968>
- <https://www.cve.org/CVERecord?id=CVE-2026-0968>
- <https://www.libssh.org/security/advisories/CVE-2026-0968.txt>
- <https://ubuntu.com/security/notices/USN-8051-1>
- <https://ubuntu.com/security/notices/USN-8051-2>
- <https://security-tracker.debian.org/tracker/CVE-2026-0968>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-0968>
- <https://security.alpinelinux.org/vuln/CVE-2026-0968>

---

Data as of 2026-12-05T04:47:16.389Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
