CVE-2025-4878: Use After Free
Source CVE Database V5
Not known to be exploited · CVSS 3.6 Low.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
Red Hat has released security updates that fix this vulnerability as part of libssh package updates for Red Hat Enterprise Linux 9. Users should apply the official patches provided in Red Hat Security Advisory RHSA-2026:18683. Refer to the vendor advisory at https://access.redhat.com/security/cve/CVE-2025-4878 and https://access.redhat.com/articles/11258 for detailed update instructions. No additional mitigation is required beyond applying the vendor-provided fix.
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.
References
- access.redhat.com/errata/RHSA-2026:18683 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2025-4878 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2376184 (opens in a new tab)
- git.libssh.org/projects/libssh.git/commit/?id=697650caa97eaf7623924c75f9fcfec6dd423cd1 (opens in a new tab)
- git.libssh.org/projects/libssh.git/commit/?id=b35ee876adc92a208d47194772e99f9c71e0bedb (opens in a new tab)
- libssh.org/security/advisories/CVE-2025-4878.txt (opens in a new tab)