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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*

History

27 Nov 2025, 18:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:21829 -

20 Nov 2025, 22:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:21329 -

17 Nov 2025, 16:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:19864 -

11 Nov 2025, 21:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:20943 -
  • () https://access.redhat.com/errata/RHSA-2025:21013 -

07 Nov 2025, 00:15

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2025:19807 -

05 Nov 2025, 20:15

Type Values Removed Values Added
References
  • () 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 -

Information

Published : 2025-06-24 14:15

Updated : 2025-11-27 18:15


NVD link : CVE-2025-5318

Mitre link : CVE-2025-5318

CVE.ORG link : CVE-2025-5318


JSON object : View

Products Affected

redhat

  • openshift_container_platform
  • enterprise_linux

libssh

  • libssh
CWE
CWE-125

Out-of-bounds Read