CVE & CISA-KEV Catalog

CVE-2026-0968

LOW
3.1
CVSS v3
NVD

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.

How to fix

Remediation Available
libsshDebian
Fixed in:0.12.0-1CVE-2026-0968
libsshRocky
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libsshRed Hat / RHEL
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libssh-configRocky
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libssh-configRed Hat / RHEL
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libssh-debuginfoRed Hat / RHEL
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libssh-debuginfoRocky
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libssh-debugsourceRed Hat / RHEL
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libssh-debugsourceRocky
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libssh-develRed Hat / RHEL
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libssh-develRocky
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.12.0-2.el10RHSA-2026:18160
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
Fixed in:0:0.10.4-18.el9RHSA-2026:18683
libsshUbuntu
Fixed in:0.6.3-4.3ubuntu0.6+esm4USN-8051-2
Fixed in:0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6USN-8051-2
Fixed in:0.9.3-2ubuntu2.5+esm3USN-8051-2
Fixed in:0.9.6-2ubuntu0.22.04.6USN-8051-1
Fixed in:0.10.6-2ubuntu0.3USN-8051-1
Fixed in:0.11.2-1ubuntu0.2USN-8051-1
libssh-4Ubuntu
Fixed in:0.6.3-4.3ubuntu0.6+esm4USN-8051-2
Fixed in:0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6USN-8051-2
Fixed in:0.9.3-2ubuntu2.5+esm3USN-8051-2
Fixed in:0.9.6-2ubuntu0.22.04.6USN-8051-1
Fixed in:0.10.6-2ubuntu0.3USN-8051-1
Fixed in:0.11.2-1ubuntu0.2USN-8051-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L

Exploit Intelligence

0.44%probability of exploitation in 30 days
35thpercentile

Low risk: more likely to be exploited than 35% of all known CVEs.

References

Related Vulnerabilities

Other CWE-476 (NULL Pointer Dereference) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-21758High7.592%-Fix
CVE-2023-21547High7.588%-Fix
CVE-2014-3470Medium4.386%-Fix
CVE-2021-44224High8.282%-Fix
CVE-2016-0742High7.582%-Fix
CVE-2009-1386Medium5.080%-Fix
Embed a live status badge for CVE-2026-0968
CVE-2026-0968 severity badge

Markdown

[![CVE-2026-0968](https://tridentstack.com/cve/badge/CVE-2026-0968.svg)](https://tridentstack.com/cve/CVE-2026-0968)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-0968"><img src="https://tridentstack.com/cve/badge/CVE-2026-0968.svg" alt="CVE-2026-0968"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-19.