ghsa-3pvj-q7qj-89fg
Vulnerability from github
Published
2025-07-07 15:30
Modified
2025-07-07 15:30
Severity ?
Details
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.
{ "affected": [], "aliases": [ "CVE-2025-5987" ], "database_specific": { "cwe_ids": [ "CWE-393" ], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2025-07-07T15:15:28Z", "severity": "MODERATE" }, "details": "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.", "id": "GHSA-3pvj-q7qj-89fg", "modified": "2025-07-07T15:30:39Z", "published": "2025-07-07T15:30:39Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5987" }, { "type": "WEB", "url": "https://access.redhat.com/security/cve/CVE-2025-5987" }, { "type": "WEB", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2376219" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L", "type": "CVSS_V3" } ] }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.