CVE-2025-4878
Libssh Uninitialized Variable Vulnerability
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.
INFO
Published Date :
July 22, 2025, 3:15 p.m.
Last Modified :
July 29, 2025, 8:15 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
2.5
Exploitability Score :
1.0
Public PoC/Exploit Available at Github
CVE-2025-4878 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-4878
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Shell Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-4878
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-4878
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jul. 29, 2025
Action Type Old Value New Value Added Reference https://git.libssh.org/projects/libssh.git/commit/?id=697650caa97eaf7623924c75f9fcfec6dd423cd1 Added Reference https://git.libssh.org/projects/libssh.git/commit/?id=b35ee876adc92a208d47194772e99f9c71e0bedb -
New CVE Received by [email protected]
Jul. 22, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N Added CWE CWE-416 Added Reference https://access.redhat.com/security/cve/CVE-2025-4878 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2376184
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-4878
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-4878
weaknesses.