Description
A flaw was found in libssh. A remote authenticated client can issue SSH_FXP_READ requests with an arbitrarily large length, causing a libssh SFTP server to allocate excessive memory and potentially exhaust it through repeated requests.
Published: 2026-07-21
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A flaw in the libssh library allows a remote authenticated user to issue SSH_FXP_READ requests with a synthetic large length. The library allocates memory proportional to the requested size, which can exhaust system memory when the requests are repeated. This symptom is a denial of service without leaking confidential data or executing arbitrary code. The weakness corresponds to CWE‑789: unchecked input leading to unsafe allocation.

Affected Systems

Systems that ship the vulnerable libssh implementation are affected. This includes Red Hat Enterprise Linux 10, 7, 8, 9 and Red Hat Hardened Images. The exact libssh package and version are not disclosed, but any instance of the library built for those operating systems is potentially vulnerable.

Risk and Exploitability

The CVSS score of 6.5 reflects a moderate severity. The EPSS score of less than 1 % indicates a very low likelihood of exploitation in the wild and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires a valid SSH session, which limits the attack surface to authenticated users. An attacker who can establish or gain access to an SFTP session can send repeated oversized read requests, forcing the server to consume large amounts of memory and potentially trigger a crash or a service failure.

Generated by OpenCVE AI on July 30, 2026 at 17:54 UTC.

Remediation

Vendor Workaround

No workaround available.


OpenCVE Recommended Actions

  • Apply the Red Hat update RHSA‑2026:42922 to upgrade libssh to the fixed version
  • Restart the SSH service so the new library is loaded
  • Restrict SFTP access to authorized users only or configure an SFTP gateway to monitor and throttle read requests

Generated by OpenCVE AI on July 30, 2026 at 17:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6410-1 libssh security update
History

Mon, 27 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Libssh
Libssh libssh
Redhat hardened Images
Vendors & Products Libssh
Libssh libssh
Redhat hardened Images

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
References

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 21 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:7

Tue, 21 Jul 2026 16:00:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:7

Tue, 21 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:7
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in libssh. A remote authenticated client can issue SSH_FXP_READ requests with an arbitrarily large length, causing a libssh SFTP server to allocate excessive memory and potentially exhaust it through repeated requests.
Title Libssh: libssh: denial of service via oversized sftp read length
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-789
CPEs cpe:/a:redhat:hummingbird:1
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Libssh Libssh
Redhat Enterprise Linux Hardened Images Hummingbird
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-22T19:07:10.508Z

Reserved: 2026-07-07T15:40:24.561Z

Link: CVE-2026-59844

cve-icon Vulnrichment

Updated: 2026-07-21T13:11:26.320Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-21T11:17:49Z

Links: CVE-2026-59844 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T18:00:15Z

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value