CVE-2025-4878
3.6 LOWA vulnerability was found in libssh, where an uninitialized variable exists under certain conditions in the privatekey_from_file() function
Published: 2025-07-22 · Last updated: 2026-05-19
Severity and scoring
- CVSS
- 3.6 LOW
- Vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
- CWE
- CWE-416
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2025-4878
- [Other]https://access.redhat.com/errata/RHSA-2026:18683
- [Other]https://access.redhat.com/security/cve/CVE-2025-4878
- [Other]https://bugzilla.redhat.com/show_bug.cgi?id=2376184
- [Other]https://git.libssh.org/projects/libssh.git/commit/?id=697650caa97eaf7623924c75f9fcfec6dd423cd1
- [Other]https://git.libssh.org/projects/libssh.git/commit/?id=b35ee876adc92a208d47194772e99f9c71e0bedb
- [Other]https://www.libssh.org/security/advisories/CVE-2025-4878.txt
Related CVEs
Same CWE
- CVE-2026-53462 — ImageMagick is free and open-source software used for editing and manipulating digital images (5.9 MEDIUM)
- CVE-2026-46523 — ImageMagick is free and open-source software used for editing and manipulating digital images (6.2 MEDIUM)
- CVE-2026-52757 — Ghidra before 12.1 contains a heap-use-after-free vulnerability in the decompiler's HighVariable::merge() function during the variable me... (4.4 MEDIUM)
- CVE-2026-49496 — Ghidra before 12.1 contains a heap-use-after-free vulnerability in SleighBuilder::generatePointerAdd caused by iterator invalidation when... (6.1 MEDIUM)
- CVE-2026-45782 — Cloud Hypervisor is a Virtual Machine Monitor for Cloud workloads