A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return values from these were not properly checked, which could cause low-memory situations failures, NULL dereferences, crashes, or usage of the uninitialized memory as an input for the KDF. In this case, non-matching keys will result in decryption/integrity failures, terminating the connection.
https://www.libssh.org/security/advisories/CVE-2023-6918.txt
https://www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/
https://bugzilla.redhat.com/show_bug.cgi?id=2254997
https://access.redhat.com/security/cve/CVE-2023-6918