1. Archivio CVE
  2. 2025
  3. CVE-2025-5987

CVE-2025-5987

8.1 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 8.1 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
libssh libssh >= 0.10.0 < 0.11.2 –
Tutte le 45 vulnerabilità di Libssh

Tipo di vulnerabilità

CWE-393 Return of Wrong Status Code

A function or operation returns an incorrect return value or status code that does not indicate the true result of execution, causing the product to modify its behavior based on the incorrect result.

Impatto sui sistemi

AmbitoImpatto
Integrità, Altro Stato imprevisto, Alterare la logica di esecuzione

Tutte le 9 CVE di tipo CWE-393, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org