BaselineWatch
Desk

CVE-2025-5987

8.1 high SSVC exploitation: none Modified

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.

Fix

Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.

Change history 1

  1. First seenCVSS 8.1 · libsshNVD modified 2026-10-16 11:16

Affected (CPE criteria) 1

  • cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*

References 17