Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2025-5318

medium

A 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

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 16:48 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs