CVE-2025-4878
Deferred
Deferred - Pending Action
BaseFortify
Publication date: 2025-07-22
Last updated on: 2026-05-06
Assigner: Red Hat, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| libssh | libssh | 3.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in libssh due to an uninitialized variable in the privatekey_from_file() function. It occurs when the specified file does not exist, potentially causing signing failures or heap corruption.
How can this vulnerability impact me? :
The vulnerability can lead to signing failures, which may disrupt authentication or cryptographic operations, and heap corruption, which could cause application instability or crashes.
Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70