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

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.

Published: 2026-03-26 Last update: 2026-05-19 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-0968 is rated Low Risk (16.5/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.04%). Mandatory action: Low composite risk—no urgent action required; patch on your normal maintenance cycle and revisit priority if CVSS or EPSS increases.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-0968

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-14 0.06% 0.04% -0.02%
2 2026-04-04 0.03% 0.06% +0.03%
3 2026-03-27 0.03%

Full EPSS history (3 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-0968

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.1 3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.6 1.4 [email protected]
3.1 3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
1.6 1.4 [email protected]

Weakness enumeration for CVE-2026-0968

GitHub Security Advisory for CVE-2026-0968

GHSA-6w3m-r3qq-cr2h · Severity: low — A flaw was found in libssh in which a malicious SFTP (SSH File Transfer Protocol) server can...

OS Trackers for CVE-2026-0968

vendor priority summary link
alpine CVE-2026-0968: 1 source package rows (libssh); 12 state rows across 2 repos (3.23-community, edge-community); fixed 2, open 10. https://security.alpinelinux.org/vuln/CVE-2026-0968
debian not yet assigned CVE-2026-0968 not yet assigned priority: Debian including 1 source packages (libssh), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. https://security-tracker.debian.org/tracker/CVE-2026-0968
redhat low https://access.redhat.com/security/cve/CVE-2026-0968
suse low CVE-2026-0968 severity low: SUSE including 282 source package names (1.1.1-1.40:libssh-config-0.9.8-150600.11.9.1, 1.1.1-1.40:libssh4-0.9.8-150600.11.9.1, …), 501 product×package rows across 99 product lines (Container private-registry/harbor-trivy-adapter, Container suse/ltss/sle12.5/sles12sp5, … (99 product lines)): Known Affected 231, Fixed 187, Known Not Affected 73, First Fixed 10. https://www.suse.com/security/cve/CVE-2026-0968/
ubuntu medium CVE-2026-0968 medium priority: Ubuntu including 1 source packages (libssh), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, upstream, xenial): released 6, needs-triage 1. https://ubuntu.com/security/CVE-2026-0968

Affected software / configurations for CVE-2026-0968

Vendor Product Version Raw CPE
libssh libssh <= 0.11.3 cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
redhat enterprise_linux 9.0 cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
redhat enterprise_linux 10.0 cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

References for CVE-2026-0968

cvelogic Threat Intelligence