Skip to content
VulniPulse
Low3.6Red Hat Linux

CVE-2025-4878: Red Hat use of uninitialized variable in privatekey_from_file

This Red Hat advisory covers CVE-2025-4878 in Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10 and Red Hat Enterprise Linux 6.

Open the Red Hat advisory

Am I affected by CVE-2025-4878?

The Red Hat advisory lists no affected version range that VulniPulse could read. Check it for Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6.

Fixed releases listed by the vendor: libssh-0:0.10.4-18.el9, RHSA-2026:18683

Official advisory · high-confidence parse· fetched ·verify at source

Key facts

Vendor rating
Low, CVSS 3.6
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N · base score 3.6, scored by redhatAttack vector: local. Attack complexity: high. Privileges required: low. User interaction: none. Scope: unchanged. Confidentiality impact: low. Integrity impact: low. Availability impact: none.
Weakness
  • CWE-416 Use After Free
EPSS
0.23% chance of exploitation in the next 30 days (13th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
CISA KEV
Not listed (catalogue checked )
Source published
Source revised
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Red Hat LinuxRed Hat Enterprise Linux

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.

Red Hat Product Security has rated this vulnerability as having Low severity as the affected privatekey_from_file() function is deprecated and should not be used. Weakness: CWE-416.

Affected Red Hat products: Red Hat Enterprise Linux 9; Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat OpenShift Container Platform 4. Will not fix / out of support: Red Hat Enterprise Linux 6; Red Hat Enterprise Linux 7.

Red Hat fixing advisory: RHSA-2026:18683.

Affected products named by the advisory: Red Hat package: libssh2.

Text from the source record.

How to fix CVE-2025-4878

Upgrade to a fixed release named by Red Hat:

  • libssh-0:0.10.4-18.el9
  • RHSA-2026:18683

End-of-life dates for Red Hat Enterprise Linux

CVE-2025-4878 in other vendors' advisories

Compare every advisory for CVE-2025-4878

CVE-2025-4878 questions

Is CVE-2025-4878 being exploited?

CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the Red Hat advisory does not report exploitation. That is not proof it is unexploited.

How do I fix CVE-2025-4878?

Upgrade to a fixed release Red Hat lists for your version: libssh-0:0.10.4-18.el9, RHSA-2026:18683.

How likely is CVE-2025-4878 to be exploited?

FIRST's EPSS model gives it a 0.23% chance of exploitation in the next 30 days (13th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.

How serious is CVE-2025-4878?

Red Hat rates it low, CVSS 3.6 out of 10.

All Red Hat Linux advisories

Get an email when Red Hat RHEL & SELinux publishes the next one.

See Red Hat RHEL & SELinux's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.

Alert me about Red Hat RHEL & SELinux