Home / Red Hat / Red Hat Enterprise Linux 10 / CVE-2025-5318
CVE-2025-5318: is it exploited, and which versions of Red Hat Enterprise Linux 10 are affected and fixed?
CVE-2025-5318 is an out-of-bounds read vulnerability in Red Hat Enterprise Linux 10. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: libssh before 0.11.2 (CVE record by redhat). Fixed in 0.11.2, 0:0.11.1-4.el10_0, 0:0.11.1-4.el10_1, 0:0.9.6-15.el8_10 and 2 more (CVE record by redhat). Severity: Medium (5.4, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-5318?
Libssh: out-of-bounds read in sftp_handle()
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.
From the CVE record by redhat, last updated November 5, 2026, 15:36 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libssh | before 0.11.2 | 0.11.2 | |
| Red Hat | Red Hat Enterprise Linux 10 libssh | all versions (default) | 0:0.11.1-4.el10_0 |
| Red Hat | Red Hat Enterprise Linux 10 libssh | all versions (default) | 0:0.11.1-4.el10_1 |
| Red Hat | Red Hat Enterprise Linux 8 libssh | all versions (default) | 0:0.9.6-15.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8 libssh | all versions (default) | 0:0.9.6-15.el8_10 |
| Red Hat | Red Hat Enterprise Linux 8.2 Advanced Update Support libssh | all versions (default) | 0:0.9.0-4.el8_2.1 |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support libssh | all versions (default) | 0:0.9.4-2.el8_4.1 |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On libssh | all versions (default) | 0:0.9.4-2.el8_4.1 |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support libssh | all versions (default) | 0:0.9.6-4.el8_6.1 |
| Red Hat | Red Hat Enterprise Linux 8.6 Telecommunications Update Service libssh | all versions (default) | 0:0.9.6-4.el8_6.1 |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions libssh | all versions (default) | 0:0.9.6-4.el8_6.1 |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service libssh | all versions (default) | 0:0.9.6-13.el8_8.1 |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions libssh | all versions (default) | 0:0.9.6-13.el8_8.1 |
| Red Hat | Red Hat Enterprise Linux 9 libssh | all versions (default) | 0:0.10.4-15.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 libssh | all versions (default) | 0:0.10.4-15.el9_7 |
| Red Hat | Red Hat Enterprise Linux 9 libssh | all versions (default) | 0:0.10.4-15.el9_6 |
| Red Hat | Red Hat Enterprise Linux 9 libssh | all versions (default) | 0:0.10.4-15.el9_7 |
| Red Hat | Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions libssh | all versions (default) | 0:0.9.6-3.el9_0.1 |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions libssh | all versions (default) | 0:0.10.4-9.el9_2.1 |
| Red Hat | Red Hat Enterprise Linux 9.4 Extended Update Support libssh | all versions (default) | 0:0.10.4-13.el9_4.1 |
| Red Hat | Red Hat OpenShift Container Platform 4.12 openshift/ose-rhel-coreos-8 | all versions (default) | 412.86.202511191939-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.13 openshift/ose-rhel-coreos-9 | all versions (default) | 413.92.202511261311-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.14 openshift/ose-rhel-coreos-9 | all versions (default) | 414.92.202511122212-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.15 openshift/ose-rhel-coreos-9 | all versions (default) | 415.92.202601271320-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.16 openshift/ose-rhel-coreos-9 | all versions (default) | 416.94.202601071926-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.17 openshift/ose-rhel-coreos-9 | all versions (default) | 417.94.202510282022-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.18 openshift/ose-rhel-coreos-9 | all versions (default) | 418.94.202511041748-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.19 openshift/ose-rhel-coreos-9 | all versions (default) | 4.19.9.6.202510281054-0 |
| Red Hat | Red Hat OpenShift Container Platform 4.20 openshift/ose-rhel-coreos-9 | all versions (default) | 4.20.9.6.202510290321-0 |
| Red Hat | Red Hat AI Inference Server 3.2 rhaiis/vllm-cuda-rhel9 | all versions (default) | 3.2.2-1765379088 |
| Red Hat | Red Hat AI Inference Server 3.2 rhaiis/vllm-rocm-rhel9 | all versions (default) | 3.2.2-1765379049 |
| Red Hat | Red Hat AI Inference Server 3.2 rhaiis/model-opt-cuda-rhel9 | all versions (default) | 3.2.2-1764871796 |
| Red Hat | Red Hat AI Inference Server 3.2 rhaiis/vllm-cuda-rhel9 | all versions (default) | 1772160593 |
| Red Hat | Red Hat AI Inference Server 3.2 rhaiis/vllm-rocm-rhel9 | all versions (default) | 1772160625 |
| Red Hat | Red Hat OpenShift distributed tracing 3.7.0 rhosdt/tempo-gateway-opa-rhel8 | all versions (default) | rhosdt-3.7-1762254546 |
| Red Hat | Red Hat OpenShift distributed tracing 3.7.0 rhosdt/tempo-gateway-rhel8 | all versions (default) | rhosdt-3.7-1762254552 |
| Red Hat | Red Hat OpenShift distributed tracing 3.7.0 rhosdt/tempo-jaeger-query-rhel8 | all versions (default) | rhosdt-3.7-1762255881 |
| Red Hat | Red Hat OpenShift distributed tracing 3.7.0 rhosdt/tempo-query-rhel8 | all versions (default) | rhosdt-3.7-1762254530 |
| Red Hat | Red Hat OpenShift distributed tracing 3.7.0 rhosdt/tempo-rhel8 | all versions (default) | rhosdt-3.7-1762254519 |
| Red Hat | Red Hat OpenShift distributed tracing 3.7.0 rhosdt/tempo-rhel8-operator | all versions (default) | rhosdt-3.7-1762254545 |
As the CVE record by redhat states it, last updated November 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | openshift container platform | 4.0 | application |
| redhat | enterprise linux | 8.0 | operating system |
| redhat | enterprise linux | 9.0 | operating system |
| redhat | enterprise linux | 10.0 | operating system |
| libssh | libssh | before 0.11.2 | application |
NVD analysis (status Modified), last modified November 5, 2026, 16:17 UTC.
How severe is CVE-2025-5318?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N | redhat |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-5318 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, March 18, 2026)
- EPSS
- 2.03% probability of exploitation activity in the next 30 days, percentile 81.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-125 Out-of-bounds Read
Is there a workaround? (from the CVE record)
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.
Where are the vendor advisories and references?
- RHSA-2025:18231 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:18275 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:18286 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19012 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19098 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19101 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19295 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19300 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19313 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19400 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19401 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19470 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19472 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19807 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:19864 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:20943 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:21013 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:21329 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:21829 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:22275 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:23078 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:23079 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:23080 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:0326 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:1541 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:3461 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:3462 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-5318 vdb-entry, x_refsource_REDHAT
- RHBZ#2369131 issue-tracking, x_refsource_REDHAT
- https://www.libssh.org/security/advisories/CVE-2025-5318.txt
Who found and reported it?
- Red Hat would like to thank Ronald Crane for reporting this issue. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 29, 2025
- Published
- June 24, 2025, 14:10 UTC
- CVE record updated
- November 5, 2026, 15:36 UTC by redhat
- NVD
- Modified, last modified November 5, 2026, 16:17 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Enterprise Linux 10?
- Dec 3, 2026CVE-2026-119584 Red Hat Directory Server 11: memory leak
- Dec 3, 2026CVE-2026-118472 Red Hat Directory Server 11: NULL pointer dereference (crash)
- Dec 3, 2026CVE-2026-137818 Red Hat Enterprise Linux 10: denial of service (uncontrolled resource consumption)
- Dec 3, 2026CVE-2026-118469 Red Hat Directory Server 11: integer underflow
- Dec 2, 2026CVE-2026-142107 Red Hat Enterprise Linux 10: out-of-bounds write (memory corruption)
- Dec 2, 2026CVE-2026-142105 Red Hat Enterprise Linux 10: denial of service (resources allocated without limits)
- Dec 2, 2026CVE-2026-115220 Red Hat Enterprise Linux 9: link following (a symlink lets an attacker reach other files)
- Dec 1, 2026CVE-2026-15268 Red Hat Enterprise Linux 10: missing authorization
Every CVE in Red Hat Enterprise Linux 10
Questions about CVE-2025-5318
Is CVE-2025-5318 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 2.03% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Red Hat Enterprise Linux 10 are affected by CVE-2025-5318?
libssh before 0.11.2, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2025-5318?
0.11.2, 0:0.11.1-4.el10_0, 0:0.11.1-4.el10_1, 0:0.9.6-15.el8_10, 0:0.9.0-4.el8_2.1 and 0:0.9.4-2.el8_4.1, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-5318?
Medium (5.4, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2025-5318?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.