Buffer underflow in libssh - CVE-2026-0966

 

Buffer underflow in libssh - CVE-2026-0966

Published: February 24, 2026


Vulnerability identifier: #VU123154
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-0966
CWE-ID: CWE-124
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: libssh
Affected software:
libssh

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service attack.

The vulnerability exists due to a boundary error within the ssh_get_hexa() function when reading zero-length input during GSSAPI authentication. A remote attacker can send specially crafted data to the application and perform a denial of service attack. 


How to mitigate CVE-2026-0966

Install updates from vendor's website.

Sources