5.4
Medium
CVE-2025-5318 Libssh: out-of-bounds read in sftp_handle()
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.
CVSS 3.1 detail
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NExploitable remotely over the network, with an ordinary account and without any user action; the impact on data or service is limited.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- Interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 10 | Versions not published | |
| Red Hat Enterprise Linux 8 | Versions not published | |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | Versions not published | |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | Versions not published | |
| Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | Versions not published | |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | Versions not published | |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | Versions not published | |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | Versions not published | |
| Red Hat Enterprise Linux 8.8 Telecommunications Update Service | Versions not published |
Show the 20 other branches Hide the 20 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | Versions not published | |
| Red Hat Enterprise Linux 9 | Versions not published | |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | Versions not published | |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | Versions not published | |
| Red Hat Enterprise Linux 9.4 Extended Update Support | Versions not published | |
| Red Hat OpenShift Container Platform 4.12 412.86 | earliest → < 412.86.202511191939-0 | 412.86.202511191939-0 |
| Red Hat OpenShift Container Platform 4.13 413.92 | earliest → < 413.92.202511261311-0 | 413.92.202511261311-0 |
| Red Hat OpenShift Container Platform 4.14 414.92 | earliest → < 414.92.202511122212-0 | 414.92.202511122212-0 |
| Red Hat OpenShift Container Platform 4.17 417.94 | earliest → < 417.94.202510282022-0 | 417.94.202510282022-0 |
| Red Hat OpenShift Container Platform 4.18 418.94 | earliest → < 418.94.202511041748-0 | 418.94.202511041748-0 |
| Red Hat OpenShift Container Platform 4.19 4.19 | earliest → < 4.19.9.6.202510281054-0 | 4.19.9.6.202510281054-0 |
| Red Hat OpenShift Container Platform 4.20 4.20 | earliest → < 4.20.9.6.202510290321-0 | 4.20.9.6.202510290321-0 |
| Red Hat AI Inference Server 3.2 1772160625 | earliest → < 1772160625 | 1772160625 |
| Red Hat OpenShift distributed tracing 3.7.0 | Versions not published | |
| Red Hat OpenShift distributed tracing 3.7.1 | Versions not published | |
| Red Hat OpenShift Container Platform 4.16 416.94 | earliest → < 416.94.202601071926-0 | 416.94.202601071926-0 |
| Red Hat OpenShift AI 3.2 | Versions not published | |
| Red Hat OpenShift Container Platform 4.15 415.92 | earliest → < 415.92.202601271320-0 | 415.92.202601271320-0 |
| Red Hat In-Vehicle Operating System 1 | Versions not published | |
| Red Hat OpenShift Container Platform 4 | Versions not published |
References
- RHSA-2025:18231 access.redhat.com
- RHSA-2025:18275 access.redhat.com
- RHSA-2025:18286 access.redhat.com
- RHSA-2025:19012 access.redhat.com
- RHSA-2025:19098 access.redhat.com
- RHSA-2025:19101 access.redhat.com
- RHSA-2025:19295 access.redhat.com
- RHSA-2025:19300 access.redhat.com
- RHSA-2025:19313 access.redhat.com
- RHSA-2025:19400 access.redhat.com
- RHSA-2025:19401 access.redhat.com
- RHSA-2025:19470 access.redhat.com
- RHSA-2025:19472 access.redhat.com
- RHSA-2025:19807 access.redhat.com
- RHSA-2025:19864 access.redhat.com
- RHSA-2025:20943 access.redhat.com
- RHSA-2025:21013 access.redhat.com
- RHSA-2025:21329 access.redhat.com
- RHSA-2025:21829 access.redhat.com
- RHSA-2025:22275 access.redhat.com
- RHSA-2025:23078 access.redhat.com
- RHSA-2025:23079 access.redhat.com
- RHSA-2025:23080 access.redhat.com
- RHSA-2026:0326 access.redhat.com
- RHSA-2026:1541 access.redhat.com
- RHSA-2026:3461 access.redhat.com
- RHSA-2026:3462 access.redhat.com
- access.redhat.com access.redhat.com
- RHBZ#2369131 bugzilla.redhat.com
- www.libssh.org www.libssh.org
Timeline
- Published
- Last modified
Other CVEs of Red Hat Enterprise Linux 10
The 1454 CVEs of Red Hat Enterprise Linux 10 →
CVE-2026-123151
Gdb: gdb: stack buffer overflow in parse_tsv_definition via stale rs->buf tail
Not rated
CVE-2026-121997
Gdb: gdbserver: heap buffer overflow in cmd_qtdpsrc via qtdpsrc declared/actual length mismatch
8.1
High
CVE-2026-121996
Gdb: gdbserver: heap disclosure and wild pointer in gdb_parse_agent_expr via untrusted agent-expression length
8.2
High
CVE-2026-121995
Gdb: gdb: stack buffer overflow in parse_tracepoint_definition via stale rs->buf tail
7.5
High