Skip to content
VulniPulse
Advisory severityMedium5.4Red Hat Linux

Medium [CVE-2025-5318] out-of-bounds read in sftp_handle

This medium-severity Red Hat Linux advisory covers CVE-2025-5318 affecting Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8.2 Advanced Update Support, Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support.

Aggregated and source-linked by VulniPulse. Data sources, validation and limitations.

CVE-2025-5318 Source published Source updated

VulniPulse record published

Affected products & platforms
Red Hat LinuxRed Hat Enterprise Linux
Open source advisory

Android app · Google Play

Monitor future Red Hat Linux CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.

Matching phone alertsOptional email delivery

Summary

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. This issue requires an attacker with valid credentials to access a server, limiting the scope to legitimate users of the SFTP service.

Due to this reason, this flaw has been rated with a Moderate severity. Red Hat severity: Moderate — CVSS 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).

Weakness: CWE-125.

Affected products named by the advisory: Red Hat Enterprise Linux 10; Red Hat Enterprise Linux 8.2 Advanced Update Support; Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support; Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On; and 20 more.

Affected products named by the advisory: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support; Red Hat Enterprise Linux 8.6 Telecommunications Update Service; Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions; Red Hat Enterprise Linux 8.8 Telecommunications Update Service; and 16 more.

Affected versions

No affected-version range was extracted from the source record. The vendor advisory is authoritative — check it before change work.

Official advisory · high-confidence parse· fetched 20 days ago·verify at source

Fixed versions
  • libssh-0:0.11.1-4.el10_0
  • libssh-0:0.11.1-4.el10_1
  • libssh-0:0.9.6-15.el8_10
  • libssh-0:0.9.0-4.el8_2.1
  • libssh-0:0.9.4-2.el8_4.1
  • libssh-0:0.9.6-4.el8_6.1
  • libssh-0:0.9.6-13.el8_8.1
  • libssh-0:0.10.4-15.el9_6
  • libssh-0:0.10.4-15.el9_7
  • libssh-0:0.9.6-3.el9_0.1
  • libssh-0:0.10.4-9.el9_2.1
  • libssh-0:0.10.4-13.el9_4.1
  • rhcos-412.86.202511191939-0
  • rhcos-413.92.202511261311-0
  • rhcos-414.92.202511122212-0
  • rhcos-415.92.202601271320-0
  • rhcos-416.94.202601071926-0
  • rhcos-417.94.202510282022-0
  • rhcos-418.94.202511041748-0
  • rhcos-4.19.9.6.202510281054-0
  • rhcos-4.20.9.6.202510290321-0
  • rhaiis/vllm-cuda-rhel9:3.2.2-1765379088
  • rhaiis/vllm-rocm-rhel9:3.2.2-1765379049
  • rhaiis/model-opt-cuda-rhel9:3.2.2-1764871796
  • rhaiis/vllm-cuda-rhel9:1772160593
  • rhaiis/vllm-rocm-rhel9:1772160625
  • rhosdt/tempo-gateway-opa-rhel8:rhosdt-3.7-1762254546
  • rhosdt/tempo-gateway-rhel8:rhosdt-3.7-1762254552
  • rhosdt/tempo-jaeger-query-rhel8:rhosdt-3.7-1762255881
  • rhosdt/tempo-query-rhel8:rhosdt-3.7-1762254530
  • rhosdt/tempo-rhel8:rhosdt-3.7-1762254519
  • rhosdt/tempo-rhel8-operator:rhosdt-3.7-1762254545
  • RHSA-2025:18231
  • RHSA-2025:21013
  • RHSA-2025:18286
  • RHSA-2025:19400
  • RHSA-2025:19401
  • RHSA-2025:19098
  • RHSA-2025:19101
  • RHSA-2025:18275
  • RHSA-2025:20943
  • RHSA-2025:19472
  • RHSA-2025:19470
  • RHSA-2025:19012
  • RHSA-2025:21829
  • RHSA-2025:22275
  • RHSA-2025:21329
  • RHSA-2026:1541
  • RHSA-2026:0326
  • RHSA-2025:19313

Official advisory · high-confidence parse· fetched 20 days ago·verify at source

Mitigation checklist

Recommended fix / mitigation
  • Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Official advisory · high-confidence parse· fetched 20 days ago·verify at source

Discussion(0)

No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.

Sign in to join the discussion.