Bug 2433121 (CVE-2026-0966) - CVE-2026-0966 libssh: Buffer underflow in ssh_get_hexa() on invalid input
Summary: CVE-2026-0966 libssh: Buffer underflow in ssh_get_hexa() on invalid input
Keywords:
Status: NEW
Alias: CVE-2026-0966
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-01-26 23:21 UTC by OSIDB Bzimport
Modified: 2026-02-10 18:48 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-01-26 23:21:47 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.