# CVE-2026-0966: Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()

- Severity: Medium 6.5 (CVSS:3.0, scored by redhat) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-03-26T20:06:28.313Z
- Modified: 2026-11-24T10:17:35.990Z
- Weaknesses: CWE-124
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libssh: no versions given (not affected: from 0:0.12.0-2.el10 before *; from 0:0.10.4-18.el9 before *)
- libssh-main: no versions given (not affected: from 0.12.0-1.1.hum1 before *)
- libssh2: no versions given
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given
- libssh libssh: before 0.11.4
- redhat hardened_images: no versions given
- redhat openshift_container_platform: 4.0
- redhat enterprise_linux: 8.0; 9.0; 10.0

## Every score

- redhat: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://access.redhat.com/errata/RHSA-2026:18160> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:18683> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:7067> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-0966> (mitigation, vdb-entry, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2433121> (issue-tracking, vendor-advisory)
- <https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/> (release-notes)

## Sources

- CVE List: [CVE-2026-0966](https://www.cve.org/CVERecord?id=CVE-2026-0966), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-0966](https://nvd.nist.gov/vuln/detail/CVE-2026-0966), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-0966 · Whole record: https://cve.day/CVE-2026-0966.json · Rebuilt by cve.day 2026-11-25T22:59:17.136Z
