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.
CVE-2025-5318
“—” beside the score: it is equal to NVD's CVSS score.
This high-severity CVE scores 8.1 under NVD CVSS v3. EPSS exploit probability: 1.8% (78th percentile of EPSS-scored CVEs). GitHub Security Advisory CVSS 5.4 is lower than this score; a lower GitHub score revises it only when its advisory is newer than the CVE record's last change, and this advisory (published 2025-06-26) is not newer than that change (2026-09-08), so it does not.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.1
- EG Score
- 8.1HIGHmedium confidence
- EG Risk
- 37EG Risk 37/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity81% × 45%Impact severity (EG Severity): CVSS 8.1 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation1.8% × 40%FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.Automatability0% × 15%CISA's SSVC Automatable value: no (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 1.8%
- EPSS %ILE
- 78th
- KEV
- Not listed
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (8.1): severity, escalated by confirmed exploitation. This CVE's 8.1 is its impact severity (EG Severity), not escalated.
- EG Severity
- 8.1 HIGHCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.NVD CVSS v3 · CVSS v3.0 or v3.1
- EG Likelihood
- 1.8% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-10-17). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.
In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
Published
June 24, 2025
Last Modified
September 8, 2026
Advisory Details (10)
Auto-updated Jun 25, 2026Affected: Red Hat Enterprise Linux 8.2 Advanced Update Support.
https://access.redhat.com/errata/RHSA-2025:19400Affected: Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions and Red Hat Enterprise Linux 8.8 Telecommunications Update Serv
https://access.redhat.com/errata/RHSA-2025:19101Affected: Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support, Red Hat Enterprise Linux 8.6 Update Services for SAP So
https://access.redhat.com/errata/RHSA-2025:19098Affected: Red Hat Enterprise Linux 9.4 Extended Update Support.
https://access.redhat.com/errata/RHSA-2025:19012Affected: Red Hat Enterprise Linux 8.
https://access.redhat.com/errata/RHSA-2025:18286Affected: Red Hat Enterprise Linux 9.
https://access.redhat.com/errata/RHSA-2025:18275Affected: Red Hat Enterprise Linux 10.
https://access.redhat.com/errata/RHSA-2025:18231Vendor Advisories for CVE-2025-5318(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:3462Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (ROCm)
- RHSA-2026:3461Red Hat Product SecurityCritical
Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (CUDA)
- RHSA-2026:1541Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.15.61 bug fix and security update
- RHSA-2026:0326Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.16.55 bug fix and security update
- RHSA-2025:23080Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server Model Optimization Tools 3.2.2 (CUDA)
- RHSA-2025:23079Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (ROCm)
- RHSA-2025:23078Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.2.2 (CUDA)
- RHSA-2025:22275Red Hat Product SecurityHigh
Red Hat Security Advisory: OpenShift Container Platform 4.13.62 bug fix and security update
- +12 more
Patch Availability(29)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libssh | 0.9.5-1 ... 0.9.8-0+deb11u1 (6 versions) |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libssh | 0.10.5-2, 0.10.5-3, 0.10.5-3+hurd.1, 0.10.6-0+deb12u1 |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libssh | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| libssh | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(8)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2025-53182025-07-17
Libssh: out-of-bounds read in sftp_handle()
- Red HatRHSA-2025:18231MODERATE2025-06-24
RHSA-2025:18231 — Moderate
- Red HatRHSA-2025:18275MODERATE2025-06-24
RHSA-2025:18275 — Moderate
- Red HatRHSA-2025:18286MODERATE2025-06-24
RHSA-2025:18286 — Moderate
- Red HatRHSA-2025:19012MODERATE2025-06-24
RHSA-2025:19012 — Moderate
- Red HatRHSA-2025:19098MODERATE2025-06-24
RHSA-2025:19098 — Moderate
- Red HatRHSA-2025:19101MODERATE2025-06-24
RHSA-2025:19101 — Moderate
- Red HatRHSA-2025:19400MODERATE2025-06-24
RHSA-2025:19400 — Moderate
Data Freshness Timeline
(refreshed 10× in last 7d / 32× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.
Showing the most recent 99 of 276 refreshes on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 1 repeat row among the latest 100 is merged into the row it repeats. The 177 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-10-19 16:31 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-18 16:31 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-18 14:06 UTCVendor advisory
- 2026-10-18 14:06 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-10-18 05:27 UTCEG score recompute
- 2026-10-17 16:33 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-16 16:39 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-15 16:31 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-14 16:31 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-13 16:33 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-12 16:58 UTCEG score recompute
- 2026-10-12 16:33 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-11 20:32 UTCEG score recompute
- 2026-10-11 18:43 UTCEG score recompute
- 2026-10-11 15:19 UTCEG score recompute
- 2026-10-11 13:47 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-10 19:59 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-09 20:06 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-08 17:10 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-07 23:47 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-06 15:17 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-05 17:42 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-04 23:21 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-03 14:25 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-10-01 19:49 UTCEPSS rescoreEPSS 1.8% · 78th percentile
Show 74 moreShow fewer
- 2026-09-30 15:02 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-09-29 15:20 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-09-28 12:38 UTCOSV refresh
- 2026-09-26 15:58 UTCEPSS rescoreEPSS 1.8% · 78th percentile
- 2026-09-24 14:02 UTCEPSS rescoreEPSS 1.7% · 76th percentile
- 2026-09-23 13:47 UTCEPSS rescoreEPSS 1.7% · 76th percentile
- 2026-09-20 20:15 UTCEPSS rescoreEPSS 1.7% · 76th percentile
- 2026-09-19 15:42 UTCEPSS rescoreEPSS 1.7% · 76th percentile
- 2026-09-18 19:27 UTCEPSS rescoreEPSS 1.7% · 76th percentile
- 2026-09-17 19:30 UTCEPSS rescoreEPSS 1.7% · 76th percentile
- 2026-09-16 14:07 UTCEPSS rescoreEPSS 1.7% · 76th percentile
- 2026-09-15 03:10 UTCEPSS rescoreEPSS 1.7% · 76th percentile
- 2026-09-12 15:00 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-09-11 14:52 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-09-11 09:36 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-09-10 09:34 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-09-08 22:00 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-09-08 16:15 UTCEG score recompute
- 2026-09-08 16:15 UTCVendor advisory
- 2026-09-08 16:15 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-09-07 16:00 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-09-06 21:30 UTCVendor advisory
- 2026-09-06 21:30 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-09-06 21:14 UTCEG score recompute
- 2026-09-06 21:14 UTCVendor advisory
- 2026-09-06 21:14 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-09-06 13:47 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-09-05 17:25 UTCVendor advisory
- 2026-09-05 17:25 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-09-05 17:01 UTCEG score recompute
- 2026-09-05 17:01 UTCVendor advisory
- 2026-09-05 17:01 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-09-04 05:06 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-09-02 14:11 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-09-01 13:53 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-08-31 18:36 UTCVendor advisory
- 2026-08-31 18:36 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-31 17:27 UTCEG score recompute
- 2026-08-31 17:27 UTCVendor advisory
- 2026-08-31 17:27 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-30 19:16 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-08-30 01:21 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
- 2026-08-28 21:40 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
- 2026-08-27 14:24 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-08-26 14:45 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-08-25 13:48 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-08-25 09:23 UTCVendor advisory
- 2026-08-25 09:23 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-25 09:08 UTCEG score recompute
- 2026-08-25 09:08 UTCVendor advisory
- 2026-08-25 09:08 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-24 14:16 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-08-24 12:28 UTCVendor advisory
- 2026-08-24 12:28 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-24 12:02 UTCVendor advisory
- 2026-08-24 12:02 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-24 11:23 UTCVendor advisory
- 2026-08-24 11:23 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-24 10:56 UTCEG score recompute
- 2026-08-24 10:56 UTCVendor advisory
- 2026-08-24 10:56 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-23 14:20 UTCVendor advisory
- 2026-08-23 14:20 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-23 13:36 UTCEG score recompute
- 2026-08-23 13:36 UTCVendor advisory
- 2026-08-23 13:36 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-23 00:18 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-08-21 23:48 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
- 2026-08-20 22:55 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
- 2026-08-19 17:03 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
- 2026-08-19 02:20 UTCVendor advisory
- 2026-08-19 02:20 UTCGHSA enrichmentGHSA-98qw-prqm-9f4p · GitHub CVSS 5.4
- 2026-08-19 01:49 UTCEG score recompute
- 2026-08-19 01:49 UTCVendor advisory
Related CVEs(same product + same vendor + same CWE)
Same product
10 shownDebian:11:libssh
Same vendor
10 shownredhat:RHSA-2025:23078 · redhat:RHSA-2025:22275
Same CWE
10 shownCWE-125
Frequently asked(5)
What is CVE-2025-5318?
When was CVE-2025-5318 made public?
Is CVE-2025-5318 actively exploited?
What is the CVSS score of CVE-2025-5318?
How do I remediate CVE-2025-5318?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-5318
Is Your Infrastructure Affected by CVE-2025-5318?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.