Skip to main content
CVE Radar
MEDIUM

CVE-2025-5318

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.

Published Updated Sources: cvelistV5, redhat

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Unreported

no source claims exploitation

EPSS

2%

chance of exploitation in 30 days

Affects

Red Hat

26 products listed

CVSS base

5.4

MEDIUM

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

None

none · proof-of-concept · active

Automatable

No

can an attacker script all four kill-chain steps

Technical impact

Total

partial · total control of the vulnerable component

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Vendors (1)

Products (26)

libsshred hat enterprise linux 10red hat enterprise linux 8red hat enterprise linux 8 2 advanced update supportred hat enterprise linux 8 4 advanced mission critical update supportred hat enterprise linux 8 4 extended update support long life add onred hat enterprise linux 8 6 advanced mission critical update supportred hat enterprise linux 8 6 telecommunications update servicered hat enterprise linux 8 6 update services for sap solutionsred hat enterprise linux 8 8 telecommunications update servicered hat enterprise linux 8 8 update services for sap solutionsred hat enterprise linux 9red hat enterprise linux 9 0 update services for sap solutionsred hat enterprise linux 9 2 update services for sap solutionsred hat enterprise linux 9 4 extended update supportred hat openshift container platform 4 12red hat openshift container platform 4 13red hat openshift container platform 4 14red hat openshift container platform 4 15red hat openshift container platform 4 16red hat openshift container platform 4 17red hat openshift container platform 4 18red hat openshift container platform 4 19red hat openshift container platform 4 20red hat ai inference server 3 2red hat openshift distributed tracing 3 7 0

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
5.4CVSS 3.1MEDIUMn/an/acvelistV5

Weakness & attack patterns

  • CWE-125

References

25 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

  • Red Hatevery CVE for this vendor
  • CWE-125other pages naming this weakness

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.