cbcvebase.
CVE-2025-4878
published 2025-07-22

CVE-2025-4878: A vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function. This flaw can be…

PriorityP413low3.6CVSS 3.1
AVLACHPRLUINSUCLILAN
EPSS
0.18%
7.9th percentile
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.

Affected

14 ranges
VendorProductVersion rangeFixed in
debianlibssh< libssh 0.10.6-0+deb12u2 (bookworm)libssh 0.10.6-0+deb12u2 (bookworm)
libsshlibssh>= 0 < 0.9.8-0+deb11u20.9.8-0+deb11u2
libsshlibssh>= 0 < 0.10.6-0+deb12u20.10.6-0+deb12u2
libsshlibssh>= 0 < 0.11.2-10.11.2-1
libsshlibssh>= 0 < 0.11.2-10.11.2-1
libsshlibssh>= 0 < 0.9.6-2ubuntu0.22.04.40.9.6-2ubuntu0.22.04.4
libsshlibssh>= 0 < 0.10.6-2ubuntu0.10.10.6-2ubuntu0.1
libsshlibssh>= 0 < 0.6.3-4.3ubuntu0.6+esm20.6.3-4.3ubuntu0.6+esm2
libsshlibssh>= 0 < 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm40.8.0~20170825.94fa1e38-1ubuntu0.7+esm4
libsshlibssh>= 0 < 0.9.3-2ubuntu2.5+esm10.9.3-2ubuntu2.5+esm1
msrcazl3_libssh_0.10.6-2_on_azure_linux_3.0
msrcazl3_libssh_0.10.6-3_on_azure_linux_3.0
msrccbl2_libssh_0.10.6-2_on_cbl_mariner_2.0
msrccbl2_libssh_0.10.6-3_on_cbl_mariner_2.0

CVSS provenance

nvdv3.13.6LOWCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
osv4.5MEDIUM
vendor_ubuntu4.5MEDIUM
vendor_debian3.6LOW
vendor_msrc3.6LOW
vendor_redhat3.6LOW
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.