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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 29 Jul 2025 19:30:00 +0000


Tue, 22 Jul 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 22 Jul 2025 14:30:00 +0000

Type Values Removed Values Added
Description No description is available for this CVE. 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.
Title libssh: Use of uninitialized variable in privatekey_from_file() Libssh: use of uninitialized variable in privatekey_from_file()
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
CPEs cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
References

Fri, 04 Jul 2025 00:30:00 +0000

Type Values Removed Values Added
Description No description is available for this CVE.
Title libssh: Use of uninitialized variable in privatekey_from_file()
Weaknesses CWE-416
References
Metrics threat_severity

None

cvssV3_1

{'score': 3.6, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'}

threat_severity

Low


cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2025-07-29T19:14:17.797Z

Reserved: 2025-05-16T22:28:46.782Z

Link: CVE-2025-4878

cve-icon Vulnrichment

Updated: 2025-07-22T14:34:52.768Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-07-22T15:15:36.307

Modified: 2025-07-29T20:15:27.383

Link: CVE-2025-4878

cve-icon Redhat

Severity : Low

Publid Date: 2025-06-24T00:00:00Z

Links: CVE-2025-4878 - Bugzilla

cve-icon OpenCVE Enrichment

No data.