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.
Published: 2026-07-21
Score: 3.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Based on the description, it is inferred that the flaw in libssh originates from logic errors in automatic certificate‑based public key authentication. When a client is configured with missing certificates or the server repeatedly rejects the provided certificates, the client falls into an infinite loop, consuming resources and ultimately becoming unresponsive. This loop can be triggered by a misconfigured or hostile SSH server and results in a denial of service against the client. The weakness is classified as CWE‑835 issue, providing attackers a direct path to exhaust client resources.

Affected Systems

Based on the listed vulnerabilities, it is inferred that Red Hat Enterprise Linux 10, 8, and 9, as well as Red Hat Hardened Images, incorporate the libssh library that is affected by this vulnerability. No specific version information is available to identify the exact libssh package revision. The known impacted deployment contexts are listed as Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 and Red Hat Hardened Images. Users running these libssh update should be aware that the denial of service behavior can be triggered by connecting to untrusted SSH servers or by using certificate authentication that the server rejects or lacks.

Risk and Exploitability

Based on the description, it is inferred that the primary risk is an application‑layer denial of service with a low severity. The CVSS score of 3.1 indicates a low severity for an application‑layer denial of service. The EPSS score of less than 1% suggests a very low probability of exploitation at the time of analysis, and the vulnerability is not listed in the CISA KEV catalog. Attackers would need to induce the client to engage certificate authentication with a targeted or compromised SSH server, a scenario that can occur during routine operations or when an attacker controls the server side. The impact is limited to the individual libssh client processes, preventing them from completing authentication, but it does not provide remote code execution or other higher‑level privileges. Because the attack surface requires a client to initiate a connection to a malicious server, the risk is somewhat restricted to environments that connect to untrusted hosts. Nonetheless, the infinite loop can exhaust CPU or memory resources and potentially cause a service shutdown, which is why applying the vendor patch remains the recommended response.

Generated by OpenCVE AI on July 30, 2026 at 17:27 UTC.

Remediation

Vendor Workaround

Do not connect to untrusted SSH servers and do not use certificates until patched.


OpenCVE Recommended Actions

  • Apply the Red Hat Enterprise Linux patch RHSA-2026:42922 to upgrade libssh.
  • Do not connect to untrusted SSH servers and avoid using certificates until the patch is applied.
  • Temporarily disable automatic certificate authentication in libssh configuration or restrict connections to trusted hosts.

Generated by OpenCVE AI on July 30, 2026 at 17:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6410-1 libssh security update
History

Mon, 27 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Libssh
Libssh libssh
Redhat hardened Images
Vendors & Products Libssh
Libssh libssh
Redhat hardened Images

Wed, 22 Jul 2026 20:00:00 +0000

Type Values Removed Values Added
References

Wed, 22 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Low


Tue, 21 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title Libssh: libssh: denial of service via automatic certificate authentication loop
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Weaknesses CWE-835
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': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L'}


Subscriptions

Libssh Libssh
Redhat Enterprise Linux Hardened Images Hummingbird
cve-icon MITRE

Status: PUBLISHED

Assigner: redhat

Published:

Updated: 2026-07-22T19:07:23.331Z

Reserved: 2026-07-07T15:40:24.561Z

Link: CVE-2026-59849

cve-icon Vulnrichment

Updated: 2026-07-22T14:31:09.232Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-21T15:16:37.647

Modified: 2026-07-30T16:33:49.700

Link: CVE-2026-59849

cve-icon Redhat

Severity : Low

Publid Date: 2026-07-21T14:03:21Z

Links: CVE-2026-59849 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:30:17Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')