A flaw was found in the libssh library in versions less than 0.11.2. (CVE-2025-5318)
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.
AI Analysis
Technical Summary
CVE-2025-5318 is an out-of-bounds read vulnerability in the libssh library's sftp_handle() function. This flaw affects Red Hat OpenShift Container Platform 4.16 prior to 4.16.55 and the Red Hat OpenShift distributed tracing platform (Tempo) 3.7.1. The vulnerability was addressed in Red Hat OpenShift Container Platform 4.16.55 and Tempo 3.7.1 releases. Red Hat has provided updated packages and container images to fix this issue. The advisory also references other security fixes in the same release, but CVE-2025-5318 specifically concerns libssh.
Potential Impact
The out-of-bounds read vulnerability could potentially lead to memory corruption or application crashes in affected libssh implementations within Red Hat OpenShift Container Platform and related components. The advisory rates the security impact as Important (high severity). No known exploits in the wild have been reported. The vulnerability affects multiple architectures including x86_64, aarch64, ppc64le, and s390x.
Mitigation Recommendations
Red Hat has released official security updates for OpenShift Container Platform 4.16.55 and distributed tracing platform Tempo 3.7.1 that address CVE-2025-5318. Users should upgrade to these versions using the OpenShift CLI or web console following Red Hat's documented upgrade procedures. The vendor advisory confirms that applying these updates fully mitigates the vulnerability. No additional workarounds or mitigations are indicated.
A flaw was found in the libssh library in versions less than 0.11.2. (CVE-2025-5318)
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.
CVSS v3.1
Score 8.1high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-5318 is an out-of-bounds read vulnerability in the libssh library's sftp_handle() function. This flaw affects Red Hat OpenShift Container Platform 4.16 prior to 4.16.55 and the Red Hat OpenShift distributed tracing platform (Tempo) 3.7.1. The vulnerability was addressed in Red Hat OpenShift Container Platform 4.16.55 and Tempo 3.7.1 releases. Red Hat has provided updated packages and container images to fix this issue. The advisory also references other security fixes in the same release, but CVE-2025-5318 specifically concerns libssh.
Potential Impact
The out-of-bounds read vulnerability could potentially lead to memory corruption or application crashes in affected libssh implementations within Red Hat OpenShift Container Platform and related components. The advisory rates the security impact as Important (high severity). No known exploits in the wild have been reported. The vulnerability affects multiple architectures including x86_64, aarch64, ppc64le, and s390x.
Mitigation Recommendations
Red Hat has released official security updates for OpenShift Container Platform 4.16.55 and distributed tracing platform Tempo 3.7.1 that address CVE-2025-5318. Users should upgrade to these versions using the OpenShift CLI or web console following Red Hat's documented upgrade procedures. The vendor advisory confirms that applying these updates fully mitigates the vulnerability. No additional workarounds or mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2026:0326
- Cve Count
- 7
- Additional Cves
- ["CVE-2025-5914","CVE-2025-8677","CVE-2025-11234","CVE-2025-40778","CVE-2025-40780","CVE-2025-59375"]
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a175eefe29bf47b50eddd4a
Added to database: 05/27/2026, 21:15:27 UTC
Last enriched: 08/16/2026, 15:57:29 UTC
Last updated: 09/10/2026, 19:42:38 UTC
Views: 172
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.