Answer in brief
CVE-2025-5987 records a High severity (CVSS 8.1) vulnerability in Libssh: invalid return code for chacha20 poly1305 with openssl backend. The current sources do not mark it as known exploited. The current feed maps libssh (generic), Red Hat/openshift/ose-rhel-coreos-8 (generic), Red Hat/openshift/ose-rhel-coreos-9 (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 8.1. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps libssh (generic), Red Hat/openshift/ose-rhel-coreos-8 (generic), Red Hat/openshift/ose-rhel-coreos-9 (generic). Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| libsshgeneric | >=0.10.0 <0.11.2 | 0.11.2 |
| Red Hat/openshift/ose-rhel-coreos-8generic | * | Not reported |
| Red Hat/openshift/ose-rhel-coreos-9generic | * | Not reported |
Published upstream
Jul 7, 2025
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Oct 16, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Jun 25, 2026
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.
Quoted source text, attributed separately from HOL analysis.