← CVE Intelligence

CVE-2025-5318

Libssh: out-of-bounds read in sftp_handle() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Not supplied / Not suppliedaffected 0 before 0.11.2
Red Hat / Red Hat Enterprise Linux 10unaffected 0:0.11.1-4.el10_0 before *
Red Hat / Red Hat Enterprise Linux 10unaffected 0:0.11.1-4.el10_1 before *
Red Hat / Red Hat Enterprise Linux 8unaffected 0:0.9.6-15.el8_10 before *
Red Hat / Red Hat Enterprise Linux 8unaffected 0:0.9.6-15.el8_10 before *
Red Hat / Red Hat Enterprise Linux 8.2 Advanced Update Supportunaffected 0:0.9.0-4.el8_2.1 before *
Red Hat / Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportunaffected 0:0.9.4-2.el8_4.1 before *
Red Hat / Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onunaffected 0:0.9.4-2.el8_4.1 before *
Red Hat / Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportunaffected 0:0.9.6-4.el8_6.1 before *
Red Hat / Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceunaffected 0:0.9.6-4.el8_6.1 before *
Red Hat / Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionsunaffected 0:0.9.6-4.el8_6.1 before *
Red Hat / Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceunaffected 0:0.9.6-13.el8_8.1 before *
Red Hat / Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsunaffected 0:0.9.6-13.el8_8.1 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:0.10.4-15.el9_6 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:0.10.4-15.el9_7 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:0.10.4-15.el9_6 before *
Red Hat / Red Hat Enterprise Linux 9unaffected 0:0.10.4-15.el9_7 before *
Red Hat / Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsunaffected 0:0.9.6-3.el9_0.1 before *
Red Hat / Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:0.10.4-9.el9_2.1 before *
Red Hat / Red Hat Enterprise Linux 9.4 Extended Update Supportunaffected 0:0.10.4-13.el9_4.1 before *
Red Hat / Red Hat OpenShift Container Platform 4.12unaffected 412.86.202511191939-0 before *
Red Hat / Red Hat OpenShift Container Platform 4.13unaffected 413.92.202511261311-0 before *
Red Hat / Red Hat OpenShift Container Platform 4.14unaffected 414.92.202511122212-0 before *
Red Hat / Red Hat OpenShift Container Platform 4.15unaffected 415.92.202601271320-0 before *
Red Hat / Red Hat OpenShift Container Platform 4.16unaffected 416.94.202601071926-0 before *
Red Hat / Red Hat OpenShift Container Platform 4.17unaffected 417.94.202510282022-0 before *
Red Hat / Red Hat OpenShift Container Platform 4.18unaffected 418.94.202511041748-0 before *
Red Hat / Red Hat OpenShift Container Platform 4.19unaffected 4.19.9.6.202510281054-0 before *
Red Hat / Red Hat OpenShift Container Platform 4.20unaffected 4.20.9.6.202510290321-0 before *
Red Hat / Red Hat AI Inference Server 3.2unaffected 3.2.2-1765379088 before *
Red Hat / Red Hat AI Inference Server 3.2unaffected 3.2.2-1765379049 before *
Red Hat / Red Hat AI Inference Server 3.2unaffected 3.2.2-1764871796 before *
Red Hat / Red Hat AI Inference Server 3.2unaffected 1772160593 before *
Red Hat / Red Hat AI Inference Server 3.2unaffected 1772160625 before *
Red Hat / Red Hat OpenShift distributed tracing 3.7.0unaffected rhosdt-3.7-1762254546 before *
Red Hat / Red Hat OpenShift distributed tracing 3.7.0unaffected rhosdt-3.7-1762254552 before *
Red Hat / Red Hat OpenShift distributed tracing 3.7.0unaffected rhosdt-3.7-1762255881 before *
Red Hat / Red Hat OpenShift distributed tracing 3.7.0unaffected rhosdt-3.7-1762254530 before *
Red Hat / Red Hat OpenShift distributed tracing 3.7.0unaffected rhosdt-3.7-1762254519 before *
Red Hat / Red Hat OpenShift distributed tracing 3.7.0unaffected rhosdt-3.7-1762254545 before *
Red Hat / Red Hat OpenShift Container Platform 4affected

CWE

CWE-125

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.