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

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.

Published

CVSS 3.0 score 6.5 out of 10.

Related technologies

Reported versions and fixes

  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*

Source evidence