Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 2.4%top 17%

Red Hat Security Advisory: libssh security update

0
Medium
Published: 10/16/2025 (10/16/2025, 10:25:20 UTC)
Source: GCVE Database
Vendor/Project: Red Hat Product Security
Product: Red Hat

Description

CVE-2025-5318 is an out-of-bounds read vulnerability in the libssh library affecting versions prior to 0.11.2. The flaw occurs in the sftp_handle function due to an incorrect comparison check, allowing access beyond the valid handle list and returning an invalid pointer. This can be exploited by an authenticated remote attacker to read unintended memory regions, potentially exposing sensitive information or impacting service behavior. Red Hat has released security updates for Red Hat Enterprise Linux 9 and 10 to address this issue.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected software

Affected versions
=0<0.11.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/19/2026, 22:03:06 UTC

Technical Analysis

CVE-2025-5318 is an out-of-bounds read vulnerability in the sftp_handle() function of libssh, a library used to implement SSH client and server applications. This vulnerability can lead to a high impact on confidentiality and availability as per the CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H). Red Hat has issued a security advisory (RHSA-2025:18231) providing updated libssh packages for Red Hat Enterprise Linux 10 to fix this issue. The advisory covers multiple architectures and Extended Update Support versions. The vulnerability is categorized under CWE-125 (out-of-bounds read).

Potential Impact

The vulnerability allows an attacker with low privileges to cause an out-of-bounds read in libssh's sftp_handle(), potentially leading to a high impact on confidentiality and availability of affected systems. There is no indication of integrity impact. No known exploits are reported in the wild at this time.

Mitigation Recommendations

Red Hat has released updated libssh packages for Red Hat Enterprise Linux 10 and its Extended Update Support variants that fix this vulnerability. Users should apply the official patches provided in Red Hat advisory RHSA-2025:18231. For detailed update instructions, refer to https://access.redhat.com/articles/11258. No additional mitigations are indicated by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2026:0326
Cve Count
7
Additional Cves
["CVE-2025-5914","CVE-2025-8677","CVE-2025-11234","CVE-2025-40778","CVE-2025-40780","CVE-2025-59375"]
Cvss Version
null

Threat ID: 6a175eefe29bf47b50eddd4a

Added to database: 05/27/2026, 21:15:27 UTC

Last enriched: 07/19/2026, 22:03:06 UTC

Last updated: 07/25/2026, 20:52:01 UTC

Views: 88

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses