Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

CVE-2025-5987


A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.


Published

2025-07-07T15:15:28.180

Last Modified

2025-07-08T16:18:34.923

Status

Undergoing Analysis

Source

[email protected]

Severity

CVSSv3.1: 5.0 (MEDIUM)

Weaknesses
  • Type: Primary
    CWE-393

Affected Vendors & Products

-


References