Out-of-Bounds Read Vulnerability in libssh Affecting Sensitive Data
CVE-2025-5318
5.4MEDIUM
What is CVE-2025-5318?
A flaw in the libssh library triggers an out-of-bounds read in the sftp_handle function due to an improper comparison check. This allows for accessing memory outside the valid handle list, potentially leading to the exposure of sensitive data or disruption of service behavior. An authenticated remote attacker could exploit this vulnerability to read unintended memory regions, which raises significant security concerns for applications utilizing the library.
References
CVSS V3.1
Score:
5.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
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.