CVE-2026-0966
Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()
- State
- Published
- Severity
- 6.5 Medium
- Published
- Mar 26, 2026
- Updated
- Sep 1, 2026
- Reserved
- Jan 14, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 6.5 Medium | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H | redhat |
Weaknesses
- CWE-124 Buffer Underwrite ('Buffer Underflow')
Affected Products
| Product | Versions |
|---|---|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Hardened ImagesRed Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 7Red Hat | |
Red Hat Enterprise Linux 8Red Hat | |
Red Hat Hardened ImagesRed Hat | |
Red Hat OpenShift Container Platform 4Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHSA-2026:18160vendor-advisory
- RHSA-2026:18683vendor-advisory
- RHSA-2026:7067vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-0966vdb-entry
- RHBZ#2433121issue-tracking
- https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.