CVE-2025-5318
mediumA flaw was found in the libssh library in versions less than 0.11.2.
Vendor / product: Redhat — openshift container platform
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.
CVSS
5.4
5.4 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Severity source: NVD CVSS v3.1 (secalert@redhat.com)
Timeline (UTC)
Published: 2025-06-24 14:15
Modified: 2026-11-05 16:17
NVD status: Modified
Last synced 1 week ago
Verified against the source API 2026-11-05 16:48 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
redhat / openshift_container_platform 4.0
redhat / enterprise_linux 8.0, 9.0, 10.0
libssh / libssh <0.11.2
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
Vendor advisory: https://www.libssh.org/security/advisories/CVE-2025-5318.txt
References
- https://access.redhat.com/errata/RHSA-2025:18231 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:18275 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:18286 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19012 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19098 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19101 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19295 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19300 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19313 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19400 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19401 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19470 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19472 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19807 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:19864 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:20943 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:21013 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:21329 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:21829 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:22275 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:23078 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:23079 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2025:23080 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:0326 secalert@redhat.com
- https://access.redhat.com/errata/RHSA-2026:1541 secalert@redhat.com
Data sources
NVD CVE API 2.0 — fetched 2026-11-05 16:48 UTC · record ↗

