The API function `ssh_get_hexa()` is vulnerable, when 0...
Moderate severity
Unreviewed
Published
Mar 26, 2026
to the GitHub Advisory Database
•
Updated May 19, 2026
Description
Published by the National Vulnerability Database
Mar 26, 2026
Published to the GitHub Advisory Database
Mar 26, 2026
Last updated
May 19, 2026
The API function
ssh_get_hexa()is vulnerable, when 0-lenghtinput is provided to this function. This function is used internally
in
ssh_get_fingerprint_hash()andssh_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.
References