Logo
vulnerabilityCVE-2026-0968
Name
CVE-2026-0968
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
libssh
Patched

Vulnerability Ratings#


3.1
CVSSv31
3.1
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
0.11.4
Not Affected
buildroot
master
0.12.0
Not Affected
openwrt
master
0.12.0-r1
Not Affected
openwrt
openwrt-25.12
0.11.3-r1
Exploitable
yocto
kirkstone
0.8.9
Exploitable
yocto
master
0.11.4
Not Affected

Resolved with patches#


libssh (yocto:scarthgap)

#
Title
Author
Resolve
1
CVE-2026-0968 tests: Reproducer for invalid longname data
Jakub Jelen <jjelen@redhat.com>
CVE-2026-0968
2
CVE-2026-0968: sftp: Sanitize input handling in
Jakub Jelen <jjelen@redhat.com>
CVE-2026-0968