Memory Management Flaw in Libssh Affects System Reliability
CVE-2025-5351
6.5MEDIUM
What is CVE-2025-5351?
A vulnerability exists in the key export functionality of libssh, where an error in the internal handling of cryptographic keys can lead to improper memory management. During error conditions, a memory structure is freed without being cleared, risking a double free scenario if subsequent failures arise. This flaw can result in heap corruption, threatening the stability of applications that rely on key export operations, particularly in environments with limited memory resources.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
libssh 0.10.0 < 0.11.2
References
CVSS V3.1
Score:
6.5
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Red Hat would like to thank Ronald Crane for reporting this issue.
