StraitOfVuln
Latest / CVE-2025-5318

CVE-2025-5318

MediumCVSS 5.4 (v3.1)Modified
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2025-5318
Published / updated
24 Jun 2025, 14:15 UTC · last modified 05 Nov 2026, 16:17 UTC
Severity
MEDIUM
CVSS score
5.4 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N · Attack vector: Network
Affected vendor
Affected products
Libssh, Enterprise Linux, Openshift Container Platform
Affected versions
Libssh: < 0.11.2
Enterprise Linux: 8.0
Enterprise Linux: 9.0
Enterprise Linux: 10.0
Openshift Container Platform: 4.0
Fixed versions
libssh 0.11.2
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
2.03% probability of exploitation in the next 30 days · 82% percentile (02 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (libssh 0.11.2) per the vendor advisory.
Source (CNA)
secalert@redhat.com

References (30)

https://www.libssh.org/security/advisories/CVE-2025-5318.txtVendor Advisory
https://access.redhat.com/errata/RHSA-2025:18231Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:18275Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:18286Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:19012Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:19098Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:19101Third Party Advisory
https://access.redhat.com/errata/RHSA-2025:19295
https://access.redhat.com/errata/RHSA-2025:19300
https://access.redhat.com/errata/RHSA-2025:19313
https://access.redhat.com/errata/RHSA-2025:19400
https://access.redhat.com/errata/RHSA-2025:19401
https://access.redhat.com/errata/RHSA-2025:19470
https://access.redhat.com/errata/RHSA-2025:19472
https://access.redhat.com/errata/RHSA-2025:19807
https://access.redhat.com/errata/RHSA-2025:19864
https://access.redhat.com/errata/RHSA-2025:20943
https://access.redhat.com/errata/RHSA-2025:21013
https://access.redhat.com/errata/RHSA-2025:21329
https://access.redhat.com/errata/RHSA-2025:21829
https://access.redhat.com/errata/RHSA-2025:22275
https://access.redhat.com/errata/RHSA-2025:23078
https://access.redhat.com/errata/RHSA-2025:23079
https://access.redhat.com/errata/RHSA-2025:23080
https://access.redhat.com/errata/RHSA-2026:0326
https://access.redhat.com/errata/RHSA-2026:1541
https://access.redhat.com/errata/RHSA-2026:3461
https://access.redhat.com/errata/RHSA-2026:3462
https://access.redhat.com/security/cve/CVE-2025-5318Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2369131Issue TrackingThird Party Advisory