CVE-2026-59849
Undergoing Analysis Undergoing Analysis - In Progress

libssh Client Denial of Service via Certificate Authentication Loop

Vulnerability report for CVE-2026-59849, 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. Logic errors in automatic certificate-based public key authentication can cause libssh clients to loop indefinitely when configured certificates are missing or repeatedly rejected by a server, leading to 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 1 associated CPE
Vendor Product Version / Range
libssh libssh *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-835 The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-59849 is a flaw in libssh where logic errors in automatic certificate-based public key authentication cause clients to loop indefinitely. This happens when configured certificates are missing or rejected by a server, leading to a denial of service.

Detection Guidance

To detect this vulnerability, monitor for processes using libssh that hang indefinitely during certificate-based authentication attempts. Check for repeated failed authentication loops in logs or system monitoring tools. No specific commands are provided in the context, but inspecting libssh client logs for repeated authentication failures may indicate exploitation.

Impact Analysis

This vulnerability can cause a denial of service by making the libssh client hang indefinitely during authentication attempts. It only affects non-default certificate configurations and does not impact default setups.

Compliance Impact

This vulnerability causes a denial of service via an infinite loop during certificate-based authentication, which could disrupt system availability. While it does not directly impact data confidentiality or integrity, prolonged service disruption may violate availability requirements in standards like GDPR (Article 32) or HIPAA (Security Rule). However, the issue is low severity and only affects non-default certificate configurations.

Mitigation Strategies

Avoid using automatic certificate-based public key authentication in libssh clients. If certificates are required, ensure proper configuration and server acceptance to prevent infinite loops. Monitor for unusual client behavior indicating repeated authentication attempts.

Chat Assistant

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

EPSS Chart