CVE-2026-59848
Awaiting Analysis Awaiting Analysis - Queue

libssh Memory Leak via Malicious SFTP Server Responses

Vulnerability report for CVE-2026-59848, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-21

Last updated on: 2026-07-22

Assigner: Red Hat, Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-21
Last Modified
2026-07-22
Generated
2026-07-22
AI Q&A
2026-07-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
libssh libssh *
libssh libssh From 0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a denial of service vulnerability in libssh affecting its client-side SFTP message handling. 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.

Detection Guidance

Monitor memory usage on systems using libssh for SFTP connections. Check for unusual accumulation of queued SFTP messages by inspecting network traffic for repeated responses with unknown request IDs. Use tools like tcpdump or Wireshark to capture and analyze SFTP traffic for anomalies.

Impact Analysis

If you use a vulnerable libssh client to connect to an untrusted SFTP server, the server could exploit this flaw to consume excessive memory on your system. This may lead to system slowdowns, crashes, or complete denial of service for applications relying on libssh.

Compliance Impact

This vulnerability primarily causes a denial of service by consuming excessive memory on the client side, which could disrupt services handling sensitive data. While not directly violating GDPR or HIPAA, prolonged downtime could impact data availability and processing timelines, potentially affecting compliance with data protection and security requirements.

Mitigation Strategies

Update libssh to the latest patched version. Avoid connecting to untrusted SFTP servers. Implement network-level monitoring to detect and block malicious SFTP traffic patterns. Restrict SFTP access to trusted servers only.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-59848. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart