CVE-2025-5318 Details
Description
A flaw was found in the libssh library in versions less than 0.11.2. An out-of-bounds read can be triggered in the sftp_handle function due to an incorrect comparison check that permits the function to access memory beyond the valid handle list and to return an invalid pointer, which is used in further processing. This vulnerability allows an authenticated remote attacker to potentially read unintended memory regions, exposing sensitive information or affect service behavior.
A vulnerability allowing an out-of-bounds read has been identified in the SFTP server implementation of libssh, in all versions. The issue arises in the sftp_handle function, where an incorrect boundary check enables the function to access memory beyond the valid handle list. This flaw allows an authenticated remote attacker to read unintended memory regions, potentially exposing sensitive information or affecting service behavior.
Users are advised to upgrade to libssh version 0.11.2 or later, where this vulnerability has been addressed. Patches are also available for earlier versions.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redhat openshift container platform | 4.0 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 9.0 10.0 |
CPE
Remediation
| |
| libssh libssh | < 0.11.2 |
CPE
Remediation
| |
Change History
56 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 6, 2026 | CVE Modified | [email protected] |
| Sep 5, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 25, 2026 | CVE Modified | [email protected] |
| Aug 24, 2026 | CVE Modified | [email protected] |
| Aug 24, 2026 | CVE Modified | [email protected] |
| Aug 23, 2026 | CVE Modified | [email protected] |
| Aug 19, 2026 | CVE Modified | [email protected] |
| Aug 18, 2026 | CVE Modified | [email protected] |
| Aug 18, 2026 | CVE Modified | [email protected] |
| Aug 16, 2026 | CVE Modified | [email protected] |
| Aug 16, 2026 | CVE Modified | [email protected] |
| Aug 15, 2026 | CVE Modified | [email protected] |
| Aug 9, 2026 | CVE Modified | [email protected] |
| Aug 4, 2026 | CVE Modified | [email protected] |
| Aug 4, 2026 | CVE Modified | [email protected] |
| Aug 2, 2026 | CVE Modified | [email protected] |
| Jul 28, 2026 | CVE Modified | [email protected] |
| Jul 26, 2026 | CVE Modified | [email protected] |
| Jul 21, 2026 | CVE Modified | [email protected] |
| Jul 21, 2026 | CVE Modified | [email protected] |
| Jul 19, 2026 | CVE Modified | [email protected] |
| Jun 30, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 27, 2026 | CVE Modified | [email protected] |
| Feb 5, 2026 | CVE Modified | [email protected] |
| Jan 21, 2026 | CVE Modified | [email protected] |
| Jan 15, 2026 | CVE Modified | [email protected] |
| Jan 8, 2026 | CVE Modified | [email protected] |
| Dec 10, 2025 | CVE Modified | [email protected] |
| Dec 5, 2025 | CVE Modified | [email protected] |
| Nov 27, 2025 | CVE Modified | [email protected] |
| Nov 20, 2025 | CVE Modified | [email protected] |
| Nov 17, 2025 | CVE Modified | [email protected] |
| Nov 11, 2025 | CVE Modified | [email protected] |
| Nov 7, 2025 | CVE Modified | [email protected] |
| Nov 5, 2025 | CVE Modified | [email protected] |
| Nov 5, 2025 | CVE Modified | [email protected] |
| Nov 5, 2025 | CVE Modified | [email protected] |
| Nov 3, 2025 | CVE Modified | [email protected] |
| Nov 3, 2025 | CVE Modified | [email protected] |
| Nov 3, 2025 | CVE Modified | [email protected] |
| Oct 29, 2025 | Modified Analysis | [email protected] |
| Oct 27, 2025 | CVE Modified | [email protected] |
| Oct 27, 2025 | CVE Modified | [email protected] |
| Oct 23, 2025 | CVE Modified | [email protected] |
| Oct 20, 2025 | CVE Modified | [email protected] |
| Oct 17, 2025 | CVE Modified | [email protected] |
| Oct 16, 2025 | CVE Modified | [email protected] |
| Sep 22, 2025 | CVE Modified | [email protected] |
| Aug 21, 2025 | Initial Analysis | [email protected] |
| Jun 24, 2025 | New CVE Received | [email protected] |