CVE-2026-59843
Received Received - Intake

libssh Remote DoS via Zero Max Packet Size Advertisement

Vulnerability report for CVE-2026-59843, 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-21

Assigner: Red Hat, Inc.

Description

A flaw was found in libssh. A remote authenticated peer can advertise a zero maximum packet size in SSH_MSG_CHANNEL_OPEN, causing later channel writes to loop indefinitely and consume CPU, leading to denial of service.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
libssh libssh *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a denial of service vulnerability in libssh where a remote authenticated peer can send a zero maximum packet size in SSH channel open messages. This causes the system to enter an infinite loop during channel writes, consuming CPU resources and making the service unresponsive.

Detection Guidance

Monitor for unusual CPU usage spikes on systems using libssh. Check SSH server logs for malformed channel open messages with zero maximum packet sizes. Use network traffic analysis tools to inspect SSH_MSG_CHANNEL_OPEN and SSH_MSG_CHANNEL_OPEN_CONFIRMATION messages for invalid packet size values.

Impact Analysis

The vulnerability can cause high CPU usage and system slowdowns, potentially leading to service outages. It requires an attacker to be authenticated, but once exploited, it disrupts normal operations by freezing SSH channel handling.

Compliance Impact

This vulnerability causes a denial of service by consuming CPU resources indefinitely, which could disrupt critical services handling sensitive data. For GDPR, this may impact availability of personal data processing systems, potentially violating Article 32 requirements for security and resilience. For HIPAA, it could disrupt systems handling protected health information, affecting integrity and availability requirements under the Security Rule.

Mitigation Strategies

Update libssh to the latest patched version immediately. If an update is not available, restrict SSH access to trusted networks or users. Monitor affected systems for abnormal CPU usage and terminate suspicious SSH sessions.

Chat Assistant

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

EPSS Chart