CVE-2025-4878
lowA vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function.
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.
CVSS
3.6
3.6 (CVSS v3.1)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N Severity source: NVD CVSS v3.1 (secalert@redhat.com)
Timeline (UTC)
Published: 2025-07-22 15:15
Modified: 2026-11-06 18:17
NVD status: Deferred
Last synced 1 week ago
Verified against the source API 2026-11-06 18:36 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://access.redhat.com/errata/RHSA-2026:18683 secalert@redhat.com
- https://access.redhat.com/security/cve/CVE-2025-4878 secalert@redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2376184 secalert@redhat.com
- https://git.libssh.org/projects/libssh.git/commit/?id=697650caa97eaf7623924c75f9fcfec6dd42... secalert@redhat.com
- https://git.libssh.org/projects/libssh.git/commit/?id=b35ee876adc92a208d47194772e99f9c71e0... secalert@redhat.com
- https://www.libssh.org/security/advisories/CVE-2025-4878.txt secalert@redhat.com
Data sources
NVD CVE API 2.0 — fetched 2026-11-06 18:36 UTC · record ↗

