CVE-2025-4878 — Use After Free in Libssh
Severity
3.6LOWNVD
OSV4.5
EPSS
0.0%
top 91.43%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJul 22
Latest updateAug 14
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NExploitability: 1.0 | Impact: 2.5
Affected Packages7 packages
🔴Vulnerability Details
4GHSA▶
GHSA-q2fw-m52x-w593: A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function↗2025-07-22
OSV▶
CVE-2025-4878: A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function↗2025-07-22
📋Vendor Advisories
5Debian▶
CVE-2025-4878: libssh - A vulnerability was found in libssh, where an uninitialized variable exists unde...↗2025