CVE-2025-4878

published 22 Jul 2025 · updated 6 Nov 2026

Libssh: use of uninitialized variable in privatekey_from_file()

3.6LowCVSS 3.6EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 0.11.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Red HatEnterprise Linux
Red HatOpenShift Container Platform
<0.11.20.11.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-4878 severity on Zeptric[![CVE-2025-4878](https://zeptric.io/badge/cve/CVE-2025-4878.svg)](https://zeptric.io/cve/CVE-2025-4878)