CVE-2026-0966
published medium CVSS 3.0 · 6.5Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()
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 | — | libssh-mainRed Hat Hardened Images · 0.12.0-1.1.hum1 and later · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | libssh2 | Unaffected | Not required | redhat |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1461 | 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 101 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 8 | libssh | Affected | Not stated | redhat |
| 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. The API function `ssh_get_hexa()` is vulnerable to a denial of service when processing zero-length input. This can be exploited remotely by an attacker during GSSAPI (Generic Security Service Application Program Interface) authentication if the server's logging verbosity is set to `SSH_LOG_PACKET (3)` or higher. Successful exploitation could lead to a self-Denial of Service of the per-connection daemon process.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
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 Hardened Images | 0.12.0-1.1.hum1 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-124 Buffer Underwrite
References
6- RHSA-2026:18160 https://access.redhat.com/errata/RHSA-2026:18160
- RHSA-2026:18683 https://access.redhat.com/errata/RHSA-2026:18683
- RHSA-2026:7067 https://access.redhat.com/errata/RHSA-2026:7067
- https://access.redhat.com/security/cve/CVE-2026-0966
- RHBZ#2433121 https://bugzilla.redhat.com/show_bug.cgi?id=2433121
- 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 via zero-length input in ssh_get_hexa()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 934dc1fe288ee5da2c58bc5b414465ac260dfb83eb8c37b0ccae38be78bdcf13
- Ingested
- 24 Nov 2026, 10:01:35 UTC
- Source record
- Official CVE record