CVE-2025-4878: libssh - Memory Corruption
- Cve: CVE-2025-4878
- Name: libssh - Memory Corruption
- Description: A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function. This flaw can be triggered if the file specified by the filename doesn't exist and may lead to possible signing failures or heap corruption.
- Impact: Attackers can cause signing failures or heap corruption, potentially leading to denial of service or memory corruption.
- Remediation: Update to the latest version of libssh.
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.6
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.00228
- Epss percentile: 0.13601
- Assignee: [email protected]
- Published at: 2025-07-22T15:15:36Z
- Age in days: 490
- Modified at: 2026-11-06T18:17:21Z
- References total: 6
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-4878
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, requirements
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| redhat:openshift_container_platform | all versions | no | cna_alias | /v1/products/redhat/openshift_container_platform |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts