Skip to main content

libssh CVE-2026-59848

| EUVDEUVD-2026-46256 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-21 redhat GHSA-4h4r-q9xg-gfmm
5.3
CVSS 3.1 · Vendor: redhat
Share

Severity by source

Vendor (redhat) PRIMARY
5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI
5.3 MEDIUM

Network vector confirmed; attacker controls server, victim connects; no privileges or user interaction needed beyond the connection itself; availability impact is low (gradual memory growth, not instant crash).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE
3.7 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Red Hat
5.3 MEDIUM
qualitative

Primary rating from Vendor (redhat).

CVSS VectorVendor: redhat

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Analysis Generated
Jul 21, 2026 - 14:31 vuln.today
CVE Published
Jul 21, 2026 - 13:21 nvd
MEDIUM 5.3

DescriptionCVE.org

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.

AnalysisAI

Unbounded memory growth in libssh's SFTP client allows a malicious server to exhaust client-side memory by sending responses for unknown request IDs, resulting in a denial-of-service condition against any application using libssh for SFTP operations. Affected deployments include libssh as packaged in Red Hat Enterprise Linux 8, 9, 10, and Red Hat Hardened Images. No public exploit code and no active exploitation have been identified at time of analysis; the CVSS score of 5.3 (Medium) reflects the limited availability impact and the requirement that a victim client connect to an attacker-controlled server.

Technical ContextAI

libssh is a C library implementing the SSH2 protocol for both client and server roles, widely packaged in Linux distributions. Its SFTP subsystem tracks outstanding client requests using numeric request IDs and maintains an internal queue of pending operations awaiting server responses. The flaw arises because when a server returns a response referencing an ID not present in the client's outstanding-request table, libssh does not discard the response - it queues it indefinitely. A malicious SFTP server can repeatedly inject bogus response packets with arbitrary unknown IDs, causing the client-side queue to grow without bound and consuming all available heap memory. The CWE classification is not formally assigned in the source data, but the root cause aligns with improper resource release / uncontrolled resource consumption (analogous to CWE-400). The affected packages are identified by CPE strings covering cpe:2.3:a:red_hat:red_hat_enterprise_linux_8, _9, _10, and red_hat_hardened_images.

RemediationAI

Apply the updated libssh package provided by Red Hat for the affected RHEL release via standard package management (dnf update libssh). Consult https://access.redhat.com/security/cve/CVE-2026-59848 for the specific fixed package version once Red Hat publishes the errata; an exact fix version is not independently confirmed from the available data. As a compensating control where immediate patching is not possible, restrict SFTP client applications to connecting only to explicitly trusted, allowlisted SFTP server endpoints using firewall egress rules or application-level hostname/IP allow lists - this directly eliminates the prerequisite of connecting to a malicious server. A trade-off of this control is operational friction for environments with dynamic or user-supplied server endpoints. Monitoring for abnormal memory growth in processes using libssh can provide early detection of exploitation attempts.

CVE-2026-18663 MEDIUM
5.9 Aug 12

Heap corruption via double-free in 389-ds-base's LDAP control parsing allows an unauthenticated remote attacker to crash

CVE-2026-4631 CRITICAL POC
9.8 Apr 07

Remote code execution in Cockpit's web interface allows unauthenticated attackers to execute arbitrary commands on the h

CVE-2026-4480 CRITICAL POC
9.0 May 26

Remote code execution in Samba's printing subsystem allows remote attackers to inject arbitrary shell commands via craft

CVE-2026-18922 CRITICAL
9.8 Sep 07

Authentication bypass in 389 Directory Server (shipped as Red Hat Directory Server 11-13 and within RHEL 6-10) lets remo

CVE-2026-14544 CRITICAL
9.8 Jul 03

Remote code execution and privilege escalation in HPLIP (HP Linux Imaging and Printing) affects the hpcups print filter

CVE-2026-76578 CRITICAL
9.8 Sep 07

Unauthenticated privilege escalation in FreeIPA (Red Hat Identity Management) allows a remote attacker to gain genuine a

CVE-2026-5121 HIGH
7.5 Mar 30

Remote code execution in libarchive on 32-bit systems allows unauthenticated attackers to execute arbitrary code via spe

CVE-2026-28369 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow (the embedded web server underpinning JBoss EAP, Red Hat Data Grid, and Apache Camel

CVE-2026-28368 CRITICAL
9.1 Mar 27

HTTP request smuggling in Red Hat Undertow allows remote unauthenticated attackers to bypass front-end security controls

CVE-2026-33845 CRITICAL
9.1 Apr 30

Out-of-bounds read in the GnuTLS DTLS handshake reassembly logic lets remote unauthenticated attackers trigger an intege

CVE-2026-28367 CRITICAL
9.1 Mar 27

HTTP request smuggling in Undertow allows remote unauthenticated attackers to send `\r\r\r` as a header block terminator

CVE-2026-16526 HIGH
8.8 Jul 30

Local privilege escalation in Performance Co-Pilot (PCP) on Red Hat Enterprise Linux 6 through 10 and OpenShift Containe

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Module for Basesystem 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

Share

CVE-2026-59848 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy