Search for vulnerabilities
Vulnerability details: VCID-86yu-83pe-hyfs
Vulnerability ID VCID-86yu-83pe-hyfs
Aliases CVE-2025-5987
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 4.5
Risk 2.2
Affected and Fixed Packages Package Details
Weaknesses (1)
System Score Found at
cvssv3 5.0 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-5987.json
cvssv3.1 5 https://access.redhat.com/security/cve/CVE-2025-5987
ssvc Track https://access.redhat.com/security/cve/CVE-2025-5987
epss 0.00043 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00043 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00043 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00043 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00043 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00043 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00043 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00043 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00049 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00049 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00049 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00049 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00049 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00049 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00049 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00049 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
epss 0.00049 https://api.first.org/data/v1/epss?cve=CVE-2025-5987
cvssv3.1 5 https://bugzilla.redhat.com/show_bug.cgi?id=2376219
ssvc Track https://bugzilla.redhat.com/show_bug.cgi?id=2376219
cvssv3.1 5 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1 5.0 https://nvd.nist.gov/vuln/detail/CVE-2025-5987
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2025-5987.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L Found at https://access.redhat.com/security/cve/CVE-2025-5987
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-07-07T14:37:02Z/ Found at https://access.redhat.com/security/cve/CVE-2025-5987
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L Found at https://bugzilla.redhat.com/show_bug.cgi?id=2376219
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none


Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2025-07-07T14:37:02Z/ Found at https://bugzilla.redhat.com/show_bug.cgi?id=2376219
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L Found at https://nvd.nist.gov/vuln/detail/CVE-2025-5987
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.12194
EPSS Score 0.00043
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:29:14.318077+00:00 Alpine Linux Importer Import https://secdb.alpinelinux.org/v3.22/community.json 37.0.0