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

Read the record on cve.org

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

CVSSScoreVectorSource
3.06.5 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:Hredhat

Weaknesses

  • CWE-124 Buffer Underwrite ('Buffer Underflow')

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 0:0.12.0-2.el10 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:0.10.4-18.el9 and laterNot affected
Red Hat Enterprise Linux 9Red Hat
  • 0:0.10.4-18.el9 and laterNot affected
Red Hat Hardened ImagesRed Hat
  • 0.12.0-1.1.hum1 and laterNot affected
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

              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.