p PatchFirst

CVE-2025-5318

CVE-2025-5318 · Libssh: out-of-bounds read in sftp_handle()

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

CVSS 5.4 · Medium · EPSS 1.8% · Fix available

Published
Updated

Stack: system

Affected products and versions

Original sources

Check your server →