CVE-2026-0966 Details
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.
A buffer underflow vulnerability has been identified in the libssh API function ssh_get_hexa(). This issue arises when zero-length input is provided, leading to improper handling of the input data. The vulnerability is present in libssh versions 0.12.0 and 0.11.4. The affected function is used internally by ssh_get_fingerprint_hash() and the deprecated ssh_print_hexa(), both of which are susceptible to the same input issue. Additionally, the vulnerability can be triggered remotely during GSSAPI authentication if the server allows this authentication method and the logging verbosity is set to SSH_LOG_PACKET (3) or higher. Exploitation of this vulnerability could result in a self-induced denial-of-service condition, causing the per-connection daemon process to crash or restart.
To address this vulnerability, GSSAPI authentication can be disabled by setting GSSAPIAuthentication to 'no' in the sshd_config file. Alternatively, the logging verbosity can be reduced to a level lower than SSH_LOG_PACKET, such as 'INFO'. After making these changes, the sshd service should be restarted to apply the modifications, which may temporarily disrupt active SSH sessions.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-124 | Buffer Underwrite ('Buffer Underflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libssh libssh | < 0.11.4 |
CPE
Remediation
| |
| redhat hardened images | All versions |
CPE
Remediation
| |
| redhat openshift container platform | 4.0 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 9.0 10.0 |
CPE
Remediation
| |
Change History
13 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | [email protected] |
| Sep 1, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 21, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 19, 2026 | CVE Modified | [email protected] |
| May 19, 2026 | CVE Modified | [email protected] |
| May 11, 2026 | CVE Modified | [email protected] |
| Apr 30, 2026 | Initial Analysis | [email protected] |
| Apr 24, 2026 | CVE Modified | [email protected] |
| Mar 26, 2026 | CVE Modified | [email protected] |
| Mar 26, 2026 | New CVE Received | [email protected] |