We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.
Please see our statement on Data Privacy.
A flaw was found in the libssh library. 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.
Reserved 2025-05-29 | Published 2025-06-24 | Updated 2025-06-24 | Assigner redhat2025-05-29: | Reported to Red Hat. |
2025-06-24: | Made public. |
Red Hat would like to thank Ronald Crane for reporting this issue.
access.redhat.com/security/cve/CVE-2025-5318
bugzilla.redhat.com/show_bug.cgi?id=2369131 (RHBZ#2369131)
www.libssh.org/security/advisories/CVE-2025-5318.txt
Support options