CVE-2023-6918: low-severity vulnerability in Red Hat Enterprise Linux 6
Libssh: missing checks for return values for digests
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Libssh doesn't properly check if digest operations succeed, which can cause crashes or use uninitialized memory when the system runs low on memory. This results in failed connections but typically doesn't allow attackers to decrypt data.
The libssh crypto abstraction layer fails to validate return values from message digest operations across different backends (CWE-252). Under low-memory conditions, unchecked failures can lead to NULL dereferences, uninitialized memory usage in key derivation, or crashes; while integrity checks prevent successful exploitation for decryption, the flaw enables denial-of-service through connection termination.
In the same product, most dangerous first.