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.

SeverityLow
CVSS3.6
Exploit probability—
ProductLibssh
PublishedJul 22, 2025
First seenJul 22, 2025

How to fix

Update
  • libssh0.11.2 or later

Affected products

ProductAffected versionsFixed in
libsshv < 0.11.20.11.2
enterprise_linux 9No range specified—
Red Hat Red Hat Enterprise Linux 10No range specified—
Red Hat Red Hat Enterprise Linux 8No range specified—
Red Hat Red Hat OpenShift Container Platform 4No range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.