#VU115172 Return of Wrong Status Code in libssh - CVE-2025-5987
Published: September 12, 2025 / Updated: February 24, 2026
libssh
libssh
Description
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to incorrect handling of the wrong status code returned by the OpenSSL within the chacha20_poly1305_set_key() function when using the ChaCha20 cipher with the OpenSSL library. A remote attacker can force the library to partially initialize cipher context, leading to an undefined application's behavior.