CVE-2025-5318

CVE Details

Release Date:2025-06-24
Impact:Moderate What is this?

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.

See more information about CVE-2025-5318 from MITRE CVE dictionary and NIST NVD


NOTE: The following CVSS metrics and score provided are preliminary and subject to review.


CVSS v3 metrics

Base Score: 5.4
Vector String: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Version: 3.1
Attack Vector: Network
Attack Complexity: Low
Privileges Required: Low
User Interaction: None
Scope: Unchanged
Confidentiality Impact: Low
Integrity Impact: Low
Availability Impact: None

Errata information


PlatformErrataRelease Date
Oracle Linux version 10 (libssh) ELSA-2025-182312025-10-16
Oracle Linux version 8 (libssh) ELSA-2025-182862025-10-19
Oracle Linux version 9 (libssh) ELSA-2025-182752025-10-16


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete