Home / Red Hat / Red Hat Enterprise Linux 9 / CVE-2025-4878
CVE-2025-4878: is it exploited, and which versions of Red Hat Enterprise Linux 9 are affected and fixed?
CVE-2025-4878 is an use after free vulnerability in Red Hat Enterprise Linux 9. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: libssh before 0.11.2, Red Hat Enterprise Linux 10 all versions (the record names no range), Red Hat Enterprise Linux 8 all versions (the record names no range) and 1 more (CVE record by redhat). Fixed in 0.11.2 and 0:0.10.4-18.el9 (CVE record by redhat). Severity: Low (3.6, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 28, 2026, 17:54 UTC and NVD November 25, 2026, 17:08 UTC.
What is CVE-2025-4878?
Libssh: use of uninitialized variable in privatekey_from_file()
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.
From the CVE record by redhat, last updated November 25, 2026, 15:31 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libssh | before 0.11.2 | 0.11.2 | |
| Red Hat | Red Hat Enterprise Linux 9 libssh | all versions (default) | 0:0.10.4-18.el9 |
| Red Hat | Red Hat Enterprise Linux 9 libssh | all versions (default) | 0:0.10.4-18.el9 |
| Red Hat | Red Hat Enterprise Linux 10 libssh | all versions (the record names no range) | |
| Red Hat | Red Hat Enterprise Linux 6 libssh2 | not stated | |
| Red Hat | Red Hat Enterprise Linux 7 libssh2 | not stated | |
| Red Hat | Red Hat Enterprise Linux 8 libssh | all versions (the record names no range) | |
| Red Hat | Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8 | all versions (the record names no range) | |
| Red Hat | Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9 | all versions (the record names no range) |
As the CVE record by redhat states it, last updated November 25, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-4878?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 3.6 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N | redhat |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-4878 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, July 22, 2025)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 15.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-416 Use After Free
Where are the vendor advisories and references?
- RHSA-2026:18683 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-4878 vdb-entry, x_refsource_REDHAT
- RHBZ#2376184 issue-tracking, x_refsource_REDHAT
- https://git.libssh.org/projects/libssh.git/commit/?id=697650caa97eaf7623924c75f9fcfec6dd423cd1
- https://git.libssh.org/projects/libssh.git/commit/?id=b35ee876adc92a208d47194772e99f9c71e0bedb
- https://www.libssh.org/security/advisories/CVE-2025-4878.txt
When was it published, and where is the official record?
- Reserved
- May 16, 2025
- Published
- July 22, 2025, 14:17 UTC
- CVE record updated
- November 25, 2026, 15:31 UTC by redhat
- NVD
- Deferred, last modified November 25, 2026, 16:17 UTC
- Last checked
- CVE list November 28, 2026, 17:54 UTC; NVD November 25, 2026, 17:08 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Enterprise Linux 9?
- Oct 3, 2023CVE-2023-4911 Red Hat Enterprise Linux 8: heap buffer overflow exploited
- Dec 3, 2026CVE-2026-119584 Red Hat Directory Server 11: memory leak
- Dec 3, 2026CVE-2026-118472 Red Hat Directory Server 11: NULL pointer dereference (crash)
- Dec 3, 2026CVE-2026-137818 Red Hat Enterprise Linux 10: denial of service (uncontrolled resource consumption)
- Dec 3, 2026CVE-2026-118469 Red Hat Directory Server 11: integer underflow
- Dec 2, 2026CVE-2026-142107 Red Hat Enterprise Linux 10: out-of-bounds write (memory corruption)
- Dec 2, 2026CVE-2026-142105 Red Hat Enterprise Linux 10: denial of service (resources allocated without limits)
- Dec 2, 2026CVE-2026-115220 Red Hat Enterprise Linux 10.2 Extended Update Support: link following (a symlink lets an attacker reach other files)
Every CVE in Red Hat Enterprise Linux 9
Questions about CVE-2025-4878
Is CVE-2025-4878 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Enterprise Linux 9 are affected by CVE-2025-4878?
libssh before 0.11.2, Red Hat Enterprise Linux 10 all versions (the record names no range), Red Hat Enterprise Linux 8 all versions (the record names no range) and Red Hat OpenShift Container Platform 4 all versions (the record names no range), per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2025-4878?
0.11.2 and 0:0.10.4-18.el9, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-4878?
Low (3.6, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2025-4878?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.