CVE-2025-5318 Libssh: out-of-bounds read in sftp_handle()
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.
Problem types: cwe_id: CWE-125
description: Out-of-bounds Read
Affected products: default_status: unaffected
vendor: Red Hat
product: Red Hat Enterprise Linux 10
cpes: cpe:/o:redhat:enterprise_linux:10.0
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 10
cpes: cpe:/o:redhat:enterprise_linux:10.1
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8
cpes: cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/o:redhat:enterprise_linux:8::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8
cpes: cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/o:redhat:enterprise_linux:8::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.2 Advanced Update Support
cpes: cpe:/o:redhat:rhel_aus:8.2::baseos
cpe:/a:redhat:rhel_aus:8.2::appstream
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
cpes: cpe:/o:redhat:rhel_eus_long_life:8.4::baseos
cpe:/a:redhat:rhel_aus:8.4::appstream
cpe:/a:redhat:rhel_eus_long_life:8.4::appstream
cpe:/o:redhat:rhel_aus:8.4::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
cpes: cpe:/o:redhat:rhel_eus_long_life:8.4::baseos
cpe:/a:redhat:rhel_aus:8.4::appstream
cpe:/a:redhat:rhel_eus_long_life:8.4::appstream
cpe:/o:redhat:rhel_aus:8.4::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
cpes: cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/o:redhat:rhel_e4s:8.6::baseos
cpe:/a:redhat:rhel_e4s:8.6::appstream
cpe:/o:redhat:rhel_tus:8.6::baseos
cpe:/a:redhat:rhel_tus:8.6::appstream
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Telecommunications Update Service
cpes: cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/o:redhat:rhel_e4s:8.6::baseos
cpe:/a:redhat:rhel_e4s:8.6::appstream
cpe:/o:redhat:rhel_tus:8.6::baseos
cpe:/a:redhat:rhel_tus:8.6::appstream
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
cpes: cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/a:redhat:rhel_aus:8.6::appstream
cpe:/o:redhat:rhel_e4s:8.6::baseos
cpe:/a:redhat:rhel_e4s:8.6::appstream
cpe:/o:redhat:rhel_tus:8.6::baseos
cpe:/a:redhat:rhel_tus:8.6::appstream
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.8 Telecommunications Update Service
cpes: cpe:/a:redhat:rhel_e4s:8.8::appstream
cpe:/o:redhat:rhel_tus:8.8::baseos
cpe:/a:redhat:rhel_tus:8.8::appstream
cpe:/o:redhat:rhel_e4s:8.8::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
cpes: cpe:/a:redhat:rhel_e4s:8.8::appstream
cpe:/o:redhat:rhel_tus:8.8::baseos
cpe:/a:redhat:rhel_tus:8.8::appstream
cpe:/o:redhat:rhel_e4s:8.8::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9
cpes: cpe:/o:redhat:enterprise_linux:9::baseos
cpe:/a:redhat:enterprise_linux:9::appstream
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9
cpes: cpe:/o:redhat:enterprise_linux:9::baseos
cpe:/a:redhat:enterprise_linux:9::appstream
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9
cpes: cpe:/o:redhat:enterprise_linux:9::baseos
cpe:/a:redhat:enterprise_linux:9::appstream
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9
cpes: cpe:/o:redhat:enterprise_linux:9::baseos
cpe:/a:redhat:enterprise_linux:9::appstream
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions
cpes: cpe:/a:redhat:rhel_e4s:9.0::appstream
cpe:/o:redhat:rhel_e4s:9.0::baseos
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
cpes: cpe:/o:redhat:rhel_e4s:9.2::baseos
cpe:/a:redhat:rhel_e4s:9.2::appstream
default_status: affected
vendor: Red Hat
product: Red Hat Enterprise Linux 9.4 Extended Update Support
cpes: cpe:/o:redhat:rhel_eus:9.4::baseos
cpe:/a:redhat:rhel_eus:9.4::appstream
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4.12
cpes: cpe:/a:redhat:openshift:4.12::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4.13
cpes: cpe:/a:redhat:openshift:4.13::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4.14
cpes: cpe:/a:redhat:openshift:4.14::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4.15
cpes: cpe:/a:redhat:openshift:4.15::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4.16
cpes: cpe:/a:redhat:openshift:4.16::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4.17
cpes: cpe:/a:redhat:openshift:4.17::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4.18
cpes: cpe:/a:redhat:openshift:4.18::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4.19
cpes: cpe:/a:redhat:openshift:4.19::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4.20
cpes: cpe:/a:redhat:openshift:4.20::el9
default_status: affected
vendor: Red Hat
product: Red Hat AI Inference Server 3.2
cpes: cpe:/a:redhat:ai_inference_server:3.2::el9
default_status: affected
vendor: Red Hat
product: Red Hat AI Inference Server 3.2
cpes: cpe:/a:redhat:ai_inference_server:3.2::el9
default_status: affected
vendor: Red Hat
product: Red Hat AI Inference Server 3.2
cpes: cpe:/a:redhat:ai_inference_server:3.2::el9
default_status: affected
vendor: Red Hat
product: Red Hat AI Inference Server 3.2
cpes: cpe:/a:redhat:ai_inference_server:3.2::el9
default_status: affected
vendor: Red Hat
product: Red Hat AI Inference Server 3.2
cpes: cpe:/a:redhat:ai_inference_server:3.2::el9
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.7.1
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.7.1
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.7.1
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.7.1
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.7.1
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
default_status: affected
vendor: Red Hat
product: Red Hat OpenShift distributed tracing 3.7.1
cpes: cpe:/a:redhat:openshift_distributed_tracing:3.7::el8
default_status: affected
CVSS v3.1: attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
baseScore: 8.1
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: LOW
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
version: 3.1
Credits: lang: en
value: Red Hat would like to thank Ronald Crane for reporting this issue.
Published: 2025-06-24T14:10:07.188Z