CVSS 3.1
8.2 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HHigh (8.2). EPSS 0.8% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:HExplain CVE-2026-0966 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-0966?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-0966?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-0966 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat Enterprise Linux 10 | 0:0.12.0-2.el10 |
| Red Hat Enterprise Linux 9 | 0:0.10.4-18.el9 |
| Red Hat Hardened Images | 0.12.0-1.1.hum1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | libssh | 0.10.6-0+deb12u3 | DEBIAN-CVE-2026-0966 DLA-4844-1 |
| Debian | 13 | libssh | 0.11.5-0+deb13u1 | DEBIAN-CVE-2026-0966 DSA-6410-1 |
| Debian | 14 | libssh | 0.12.0-1 | DEBIAN-CVE-2026-0966 |
| Ubuntu | 22.04:LTS | libssh | 0.9.6-2ubuntu0.22.04.6 | UBUNTU-CVE-2026-0966 USN-8051-1 |
| Ubuntu | 24.04:LTS | libssh | 0.10.6-2ubuntu0.3 | UBUNTU-CVE-2026-0966 USN-8051-1 |
| Ubuntu | 25.10 | libssh | 0.11.2-1ubuntu0.2 | UBUNTU-CVE-2026-0966 USN-8051-1 |
| Ubuntu | Pro:16.04:LTS | libssh | 0.6.3-4.3ubuntu0.6+esm4 | UBUNTU-CVE-2026-0966 USN-8051-2 |
| Ubuntu | Pro:18.04:LTS | libssh | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6 | UBUNTU-CVE-2026-0966 USN-8051-2 |
| Ubuntu | Pro:20.04:LTS | libssh | 0.9.3-2ubuntu2.5+esm3 | UBUNTU-CVE-2026-0966 USN-8051-2 |
| Red Hat | enterprise_linux:9::appstream | libssh-devel, libssh-debuginfo, libssh-debugsource | 0:0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat | enterprise_linux:9::baseos | libssh, libssh-config, libssh-debuginfo and 1 more | 0:0.10.4-18.el9 | RHSA-2026:18683 |
| Red Hat | enterprise_linux:10.2 | libssh, libssh-devel, libssh-config and 2 more | 0:0.12.0-2.el10 | RHSA-2026:18160 |
| Red Hat | hummingbird:1 | libssh, libssh-devel, libssh-config | 0:0.12.0-1.1.hum1 | RHSA-2026:7067 |
| SUSE | Linux Enterprise Micro 5.2 | libssh | 0.9.8-150200.13.15.1 | SUSE-SU-2026:0567-1 |
| SUSE | Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 | libssh | 0.9.8-150400.3.17.1 | SUSE-SU-2026:1565-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP7 | libssh | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| SUSE | Linux Enterprise Server LTSS Extended Security 12 SP5 | libssh | 0.6.3-12.28.1 | SUSE-SU-2026:1344-1 |
| SUSE | Linux Enterprise Server LTSS Extended Security 12 SP5 | libssh | 0.9.8-3.21.1 | SUSE-SU-2026:0778-1 |
| SUSE | Linux Micro 6.0 | libssh | 0.10.6-4.1 | SUSE-SU-2026:20524-1 |
| SUSE | Linux Micro 6.1 | libssh | 0.10.6-slfo.1.1_4.1 | SUSE-SU-2026:20531-1 |
| openSUSE | Leap 15.6 | libssh | 0.9.8-150600.11.9.1 | SUSE-SU-2026:0779-1 |
| openSUSE | Tumbleweed | libssh | 0.11.4-1.1 | openSUSE-SU-2026:10203-1 |
| AlmaLinux | 9 | libssh, libssh-devel, libssh-config | 0.10.4-18.el9 | ALSA-2026:18683 |
| AlmaLinux | 10 | libssh, libssh-devel, libssh-config | 0.12.0-2.el10 | ALSA-2026:18160 |
| Rocky Linux | 9 | libssh | 0:0.10.4-18.el9 | RLSA-2026:18683 |
| Rocky Linux | 10 | libssh | 0:0.12.0-2.el10 | RLSA-2026:18160 |
| Alpine | v3.23 | libssh | 0.11.4-r0 | ALPINE-CVE-2026-0966 |
| Alpine | v3.24 | libssh | 0.12.0-r0 | ALPINE-CVE-2026-0966 |
| Azure Linux | 3 | libssh | 0.10.6-7 | AZL-81095 |
| Alpaquita | 23, 25, stream | libssh | 0.11.4-r0 | BELL-CVE-2026-0966 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
Attack Complexity is high as it requires the logging verbosity to be set to `SSH_LOG_PACKET (3)` or higher, which is not the default configuration in Red Hat Enterprise Linux.
Applications using libssh should avoid passing zero-length input to ssh_get_hexa(), ssh_get_fingerprint_hash(), and ssh_print_hexa().
For the remotely reachable GSSAPI authentication path, disable GSSAPI authentication in the affected libssh-based application if it is not required, or configure that application's libssh logging verbosity below SSH_LOG_PACKET (3). These measures address the GSSAPI logging path; they do not prevent other callers from passing zero-length input to the affected functions.
Configuration and any required restart depend on the application using libssh. Changing the host's OpenSSH sshd_config or restarting the OpenSSH sshd service is not a general mitigation for applications using libssh.
Apply the relevant vendor update containing the fix. Upstream fixed this issue in libssh 0.11.4 and 0.12.0; distribution packages may include a backported fix.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | libssh-0:0.12.0-2.el10 | Fixed 2026-05-19 | RHSA-2026:18160 |
| Red Hat Enterprise Linux 9 | libssh-0:0.10.4-18.el9 | Fixed 2026-05-19 | RHSA-2026:18683 |
| Red Hat Hardened Images | libssh-main-0.12.0-1.1.hum1 | Fixed 2026-04-08 | RHSA-2026:7067 |
| Red Hat Enterprise Linux 6 | libssh2 | Not affected | |
| Red Hat Enterprise Linux 7 | libssh2 | Not affected | |
| Red Hat Enterprise Linux 8 | libssh | Fix deferred | |
| Red Hat Hardened Images | libssh2 | Not affected | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-8 | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift/ose-rhel-coreos-9 | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-0966.