CVE-2026-0968
Libssh: libssh: denial of service due to malformed sftp message
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.
INFO
Published Date :
March 26, 2026, 9:17 p.m.
Last Modified :
April 13, 2026, 8:15 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.0 | LOW | 53f830b8-0a3f-465b-8143-3b8a9948e749 | ||||
| CVSS 3.0 | LOW | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | LOW | [email protected] | ||||
| CVSS 3.1 | LOW | [email protected] |
Solution
- Update libssh to the latest version.
- Apply vendor patches for libssh.
- Validate SFTP server input handling.
Public PoC/Exploit Available at Github
CVE-2026-0968 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-0968.
| URL | Resource |
|---|---|
| https://access.redhat.com/security/cve/CVE-2026-0968 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2436982 | Third Party Advisory |
| https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/ | Release Notes |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-0968 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-0968
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
None
Shell Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-0968 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-0968 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Modified Analysis by [email protected]
Apr. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L Removed CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
CVE Modified by [email protected]
Apr. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L Removed CVSS V3 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L -
Initial Analysis by [email protected]
Apr. 03, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* versions up to (including) 0.11.3 Added Reference Type Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2026-0968 Types: Third Party Advisory Added Reference Type Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2436982 Types: Third Party Advisory Added Reference Type Red Hat, Inc.: https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/ Types: Release Notes -
CVE Modified by [email protected]
Mar. 26, 2026
Action Type Old Value New Value Added Reference https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/ -
New CVE Received by [email protected]
Mar. 26, 2026
Action Type Old Value New Value Added 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. Added CVSS V3 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L Added CWE CWE-476 Added Reference https://access.redhat.com/security/cve/CVE-2026-0968 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2436982