---
id: CVE-2026-0966
title: A flaw was found in libssh
summary: >-
  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
  Progr…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'
cwe:
  - CWE-124
vendor: libssh
product: libssh
affected:
  - libssh < 0.11.4
  - hardened_images
  - openshift_container_platform = 4.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
patched:
  - libssh 0.11.4
published: '2026-03-26'
updated: '2026-08-21'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-0966'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:18160'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:18683'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:7067'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-0966'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2433121'
    label: secalert@redhat.com
  - url: >-
      https://www.libssh.org/2026/02/10/libssh-0-12-0-and-0-11-4-security-releases/
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00582
epssPercentile: 0.45471
ingestedAt: '2026-08-21T13:17:18.791Z'
---

## Overview

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.

## Affected

- `libssh < 0.11.4`
- `hardened_images`
- `openshift_container_platform = 4.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `libssh 0.11.4`
