CVE-2025-4878

low

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.

References

https://git.libssh.org/projects/libssh.git/commit/?id=b35ee876adc92a208d47194772e99f9c71e0bedb

https://git.libssh.org/projects/libssh.git/commit/?id=697650caa97eaf7623924c75f9fcfec6dd423cd1

https://bugzilla.redhat.com/show_bug.cgi?id=2376184

https://access.redhat.com/security/cve/CVE-2025-4878

Details

Source: Mitre, NVD

Published: 2025-07-22

Updated: 2025-07-29

Risk Information

CVSS v2

Base Score: 2.4

Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:P/A:N

Severity: Low

CVSS v3

Base Score: 3.6

Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Severity: Low

EPSS

EPSS: 0.00012