Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-5987 Details

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-393Return of Wrong Status Code[email protected]

Affected Products

ProductVersions
libssh libssh
>= 0.10.0, < 0.11.2

CPE

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

Remediation

  • No remediation found in references.

Change History

23 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-5987
NVD Published Date:
Jul 7, 2025
NVD Last Modified:
Nov 5, 2026
Source:
[email protected]
CVE-2025-5987 Details - Not Deferred