Description
A flaw was found in libssh. A malicious SFTP server can send responses for unknown request IDs that libssh clients keep queued indefinitely, causing unbounded memory growth and client-side denial of service.
Published: 2026-07-21
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw resides in libssh, where a malicious SFTP server sends responses for unknown request IDs. These responses are queued by libssh clients indefinitely, resulting in unbounded memory growth and a client‑side denial of service. The weakness directly relates to improper resource management, aligning with CWE-770 – highlighting uncontrolled resource consumption and allocation of resources without limits.

Affected Systems

Affected systems include Red Hat Enterprise Linux 10, 8, and 9, as well as Red Hat Hardened Images. These distributions embed the vulnerable libssh library and can be impacted when their clients connect to a compromised SFTP server.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. The EPSS score of less than 1% suggests that exploitation is unlikely in the current threat landscape, and the vulnerability is not listed in CISA KEV. The attack vector is network‑based: an attacker who can control or spoof an SFTP server can trigger the flaw by sending crafted responses while a client is connected. No special privileges or local access on the client are required beyond establishing an SFTP session.

Generated by OpenCVE AI on August 3, 2026 at 00:37 UTC.

Remediation

Vendor Workaround

Do not connect to untrusted SFTP servers.


OpenCVE Recommended Actions

  • Avoid connecting to unknown or untrusted SFTP servers until the issue is addressed by the vendor.
  • When a vendor update to libssh becomes available, apply the patch to prevent the memory‑leak behavior.
  • Continuously monitor client memory usage for sudden spikes that may indicate exploitation attempts.

Generated by OpenCVE AI on August 3, 2026 at 00:37 UTC.

Tracking

Sign in to view the affected projects.

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

Wed, 29 Jul 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400
CWE-627

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

Fri, 24 Jul 2026 04:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400
CWE-627

Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
Metrics ssvc

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


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 14:00:00 +0000

Type Values Removed Values Added
Description A flaw was found in libssh. A malicious SFTP server can send responses for unknown request IDs that libssh clients keep queued indefinitely, causing unbounded memory growth and client-side denial of service.
Title Libssh: libssh: denial of service via sftp responses with unknown request ids
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
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': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

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

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-23T14:28:28.830Z

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

Link: CVE-2026-59848

cve-icon Vulnrichment

Updated: 2026-07-23T14:28:19.387Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-21T13:18:03Z

Links: CVE-2026-59848 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T00:45:03Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling