Logo
vulnerabilityCVE-2025-4878
Name
CVE-2025-4878
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
libssh
Patched

Vulnerability Ratings#


3.6
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
0.11.4
Not Affected
buildroot
master
0.12.0
Not Affected
openwrt
master
0.12.0-r1
Not Affected
openwrt
openwrt-25.12
0.11.3-r1
Not Affected
yocto
kirkstone
0.8.9
Patched
yocto
master
0.11.4
Not Affected

Resolved with patches#


libssh (yocto:kirkstone)

#
Title
Author
Resolve
1
CVE-2025-4878 Initialize pointers where possible
Jakub Jelen <jjelen@redhat.com>
CVE-2025-4878
2
CVE-2025-4878 legacy: Properly check return value to avoid
Jakub Jelen <jjelen@redhat.com>
CVE-2025-4878

libssh (yocto:scarthgap)

#
Title
Author
Resolve
1
CVE-2025-4878 Initialize pointers where possible
Jakub Jelen <jjelen@redhat.com>
CVE-2025-4878
2
CVE-2025-4878 legacy: Properly check return value to avoid
Jakub Jelen <jjelen@redhat.com>
CVE-2025-4878