CVE-2026-59848

Libssh: libssh: denial of service via sftp responses with unknown request ids

Published Jul 21, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 DLA Debian DLA DLA-4844-1 libssh security update
Debian DSA Debian DSA DSA-6410-1 libssh security update
Ubuntu USN Ubuntu USN USN-8699-1 libssh vulnerabilities
Ubuntu USN Ubuntu USN USN-9187-1 libssh vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:8::appstream
cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:8::baseos
cpe:/o:redhat:enterprise_linux:9::baseos
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
Weaknesses CWE-400
CWE-627
Type Values Removed Values Added
First Time appeared Libssh
Libssh libssh
Redhat hardened Images
Vendors & Products Libssh
Libssh libssh
Redhat hardened Images
Type Values Removed Values Added
Weaknesses CWE-400
CWE-627
Type Values Removed Values Added
Weaknesses CWE-770
Metrics ssvc

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

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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Sep 1, 2026, 8:01 PM
Reserved
Jul 7, 2026, 3:40 PM
Status
Modified
Published
Jul 21, 2026, 2:16 PM
Modified
Sep 1, 2026, 9:18 PM
Severity
Moderate
Public date
Jul 21, 2026, 1:18 PM