{"id":"CVE-2026-0968","summary":"Libssh: libssh: denial of service due to malformed sftp message","details":"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.","modified":"2026-05-28T04:11:16.321929724Z","published":"2026-03-26T20:06:29.554Z","related":["ALSA-2026:18160","ALSA-2026:18683","SUSE-SU-2026:0567-1","SUSE-SU-2026:0778-1","SUSE-SU-2026:0779-1","SUSE-SU-2026:1344-1","SUSE-SU-2026:1565-1","SUSE-SU-2026:20524-1","SUSE-SU-2026:20531-1","SUSE-SU-2026:21396-1","SUSE-SU-2026:21428-1","openSUSE-SU-2026:10203-1","openSUSE-SU-2026:20647-1"],"database_specific":{"cna_assigner":"redhat","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0968.json","cwe_ids":["CWE-476"]},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:18160"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:18683"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-0968"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/0xxx/CVE-2026-0968.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0968"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2436982"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/libssh/libssh-mirror","events":[{"introduced":"0"},{"last_affected":"301d0e16dfa8a5cac1cff956b6880ca90eb82864"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.11.3"}],"cpe":"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*","source":"CPE_RANGE"}}],"versions":["libssh-0.11.3","libssh-0.11.2","libssh-0.11.1","libssh-0.11.0","libssh-0.8.0","release-0-3-0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-0968.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L"}]}