Vulnerabilities · 2025 · Redhat
CVE-2025-5318
Redhat Openshift Container Platform vulnerability
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.
Affected products
Openshift Container Platform, Enterprise Linux, Libssh. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Redhat Openshift Container Platform runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.libssh.org/security/advisories/CVE-2025-5318.txt · Vendor Advisory
- access.redhat.com/errata/RHSA-2025:18231 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:18275 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:18286 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:19012 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:19098 · Third Party Advisory
- access.redhat.com/errata/RHSA-2025:19101 · Third Party Advisory
- access.redhat.com/security/cve/CVE-2025-5318 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-5318
- cve.org/CVERecord?id=CVE-2025-5318
More vulnerabilities in Redhat products
CVE-2025-53862CVE-2025-53861CVE-2025-47711CVE-2025-46400CVE-2025-46399CVE-2025-46398CVE-2025-46397CVE-2025-35036All 5,277
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.