CVE-2026-0968
published low CVSS 3.1 · 3.1Libssh: libssh: denial of service due to malformed sftp message
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 10 | libssh0:0.12.0-2.el10 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 9 | libssh0:0.10.4-18.el9 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | libssh2 | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 8 | libssh | Affected | Not stated | redhat |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1632 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | libssh | Advisory build | 0.12.0-2.el10 | ALSA-2026:18160 |
| Alpine Linux | edge | libssh | Fixed | 0.12.0-r0 | Package fix record |
| Debian | bookworm | libssh | Advisory build | 0.10.6-0+deb12u3 | DLA-4844-1 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | libssh2Red Hat Hardened Images | Unaffected | Not required | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Affected | Not stated | redhat |
| Oracle Linux | 10 | libsshaarch64 | Advisory build | 0:0.12.0-2.el10 | ELSA-2026-18160 |
| Red Hat Enterprise Linux | RHEL-10 | libsshaarch64 | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Ubuntu | bionic | libssh | Advisory build | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 | USN-8051-2 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configx86_64 | Advisory build | 0.9.8-3.21.1 | SUSE-SU-2026:0778-1 |
| AlmaLinux | 9 | libssh | Advisory build | 0.10.4-18.el9 | ALSA-2026:18683 |
| Alpine Linux | v3.23 | libssh | Fixed | 0.11.4-r0 | Package fix record |
| Alpine Linux | v3.24 | libssh | Fixed | 0.12.0-r0 | Package fix record |
| Debian | trixie | libssh | Advisory build | 0.11.5-0+deb13u1 | DSA-6410-1 |
| Oracle Linux | 10 | libsshx86_64 | Advisory build | 0:0.12.0-2.el10 | ELSA-2026-18160 |
| Oracle Linux | 9 | libsshaarch64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Oracle Linux | 9 | libsshx86_64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Red Hat Enterprise Linux | RHEL-10 | libsshppc64le | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libsshs390x | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libsshsrc | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libsshx86_64 | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-9 | libsshaarch64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshi686 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshppc64le | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshs390x | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshsrc | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libsshx86_64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Ubuntu | focal | libssh | Advisory build | 0.9.3-2ubuntu2.5+esm3 | USN-8051-2 |
| Ubuntu | jammy | libssh | Advisory build | 0.9.6-2ubuntu0.22.04.6 | USN-8051-1 |
| Ubuntu | noble | libssh | Advisory build | 0.10.6-2ubuntu0.3 | USN-8051-1 |
| Ubuntu | questing | libssh | Advisory build | 0.11.2-1ubuntu0.2 | USN-8051-1 |
| Ubuntu | xenial | libssh | Advisory build | 0.6.3-4.3ubuntu0.6+esm4 | USN-8051-2 |
| AlmaLinux | 10 | libssh-config | Advisory build | 0.12.0-2.el10 | ALSA-2026:18160 |
| AlmaLinux | 10 | libssh-devel | Advisory build | 0.12.0-2.el10 | ALSA-2026:18160 |
| AlmaLinux | 9 | libssh-config | Advisory build | 0.10.4-18.el9 | ALSA-2026:18683 |
| AlmaLinux | 9 | libssh-devel | Advisory build | 0.10.4-18.el9 | ALSA-2026:18683 |
| Oracle Linux | 10 | libssh-configaarch64 | Advisory build | 0:0.12.0-2.el10 | ELSA-2026-18160 |
| Oracle Linux | 10 | libssh-configx86_64 | Advisory build | 0:0.12.0-2.el10 | ELSA-2026-18160 |
| Oracle Linux | 10 | libssh-develaarch64 | Advisory build | 0:0.12.0-2.el10 | ELSA-2026-18160 |
| Oracle Linux | 10 | libssh-develx86_64 | Advisory build | 0:0.12.0-2.el10 | ELSA-2026-18160 |
| Oracle Linux | 9 | libssh-configaarch64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Oracle Linux | 9 | libssh-configx86_64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Oracle Linux | 9 | libssh-develaarch64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Oracle Linux | 9 | libssh-develx86_64 | Advisory build | 0:0.10.4-18.el9 | ELSA-2026-18683 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-confignoarch | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfoaarch64 | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfoppc64le | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfos390x | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debuginfox86_64 | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourceaarch64 | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourceppc64le | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsources390x | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-debugsourcex86_64 | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develaarch64 | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develppc64le | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-devels390x | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-10 | libssh-develx86_64 | Advisory build | 0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-confignoarch | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoaarch64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoi686 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoppc64le | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfos390x | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfox86_64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceaarch64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcei686 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceppc64le | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsources390x | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcex86_64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develaarch64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develi686 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develppc64le | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-devels390x | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develx86_64 | Advisory build | 0.10.4-18.el9 | RHSA-2026:18683 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develx86_64 | Advisory build | 0.9.8-3.21.1 | SUSE-SU-2026:0778-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-devel-docx86_64 | Advisory build | 0.6.3-12.28.1 | SUSE-SU-2026:1344-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4x86_64 | Advisory build | 0.9.8-3.21.1 | SUSE-SU-2026:0778-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4-32bitx86_64 | Advisory build | 0.9.8-3.21.1 | SUSE-SU-2026:0778-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-configaarch64 | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-configppc64le | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-configs390x | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-configx86_64 | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-develaarch64 | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-develppc64le | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-devels390x | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh-develx86_64 | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4aarch64 | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4ppc64le | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4s390x | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4x86_64 | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-15-SP7 | libssh4-32bitx86_64 | Advisory build | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE / openSUSE | SLE-16 | libssh-confignoarch | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh-develaarch64 | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh-develppc64le | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh-devels390x | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh-develx86_64 | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh4aarch64 | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh4ppc64le | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh4s390x | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-16 | libssh4x86_64 | Advisory build | 0.11.4-160000.1.1 | SUSE-SU-2026:21428-1 |
| SUSE / openSUSE | SLE-5 | libssh-configaarch64 | Advisory build | 0.9.8-150200.13.15.1 | SUSE-SU-2026:0567-1 |
| SUSE / openSUSE | SLE-5 | libssh-configaarch64 | Advisory build | 0.9.8-150400.3.17.1 | SUSE-SU-2026:1565-1 |
| SUSE / openSUSE | SLE-5 | libssh-configppc64le | Advisory build | 0.9.8-150400.3.17.1 | SUSE-SU-2026:1565-1 |
| SUSE / openSUSE | SLE-5 | libssh-configs390x | Advisory build | 0.9.8-150200.13.15.1 | SUSE-SU-2026:0567-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.1 / 10
- Severity
- low
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | 0:0.12.0-2.el10 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 and later (unaffected · rpm)Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Hardened Images | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat · cna |
Weaknesses
1- CWE-476 NULL Pointer Dereference
References
5- RHSA-2026:18160 https://access.redhat.com/errata/RHSA-2026:18160
- RHSA-2026:18683 https://access.redhat.com/errata/RHSA-2026:18683
- https://access.redhat.com/security/cve/CVE-2026-0968
- RHBZ#2436982 https://bugzilla.redhat.com/show_bug.cgi?id=2436982
- https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/
Provider assertions
2redhat · cna
Libssh: libssh: denial of service due to malformed sftp message
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e1f2f0aca5f685ff27e4796127639b962976ff2c2916f6216763953e13a8754d
- Ingested
- 25 Nov 2026, 15:20:02 UTC
- Source record
- Official CVE record