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.
No summary for this CVE yet.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:LAttack ComplexityLow
PR:LPrivileges RequiredLow
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:NIntegrityNone
A:HAvailabilityHigh
Weaknesses
Affected Products
and 41 more affected products View all →
Exploitability
Official Patch Available
Workaround Available
Attack Graph
Products CVE Techniques Tactics
Click technique nodes to view MITRE ATT&CK details. Scroll to zoom, drag to pan.
MITRE ATT&CK
1 technique Collection
References
https://access.redhat.com/errata/RHSA-2025:18231
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:18275
access.redhat.com
https://access.redhat.com/errata/RHSA-2025:18286
access.redhat.com
and 42 more references View all →
Timeline
Published
Jun 24, 2025
Last Updated
Feb 27, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-5318 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows
