CVE-2026-0966
The API function `ssh_get_hexa()` is vulnerable, when 0-lenght …
The API function `ssh_get_hexa()` is vulnerable, when 0-lenght input is provided to this function. This function is used internally in `ssh_get_fingerprint_hash()` and `ssh_print_hexa()` (deprecated), which is vulnerable to the same input (length is provided by the calling application). The function is also used internally in the gssapi code for logging the OIDs received by the server during GSSAPI authentication. This could be triggered remotely, when the server allows GSSAPI authentication and logging verbosity is set at least to SSH_LOG_PACKET (3). This could cause self-DoS of the per-connection daemon process.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- access.redhat.com/security/cve/CVE-2026-0966
- bugzilla.redhat.com/show_bug.cgi?id=2433121
- www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/
- access.redhat.com/errata/RHSA-2026:7067
- access.redhat.com/errata/RHSA-2026:18160
- access.redhat.com/errata/RHSA-2026:18683
- nvd.nist.gov/vuln/detail/CVE-2026-0966
- cve.org/CVERecord?id=CVE-2026-0966
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.