---
id: CVE-2026-59849
title: A flaw was found in libssh
summary: >-
  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 denia…
severity: low
cvss: 3.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-835
vendor: libssh
product: libssh
affected:
  - 'libssh >= 0.11.0, < 0.11.5'
  - libssh = 0.12.0
  - hardened_images
  - enterprise_linux = 10.0
  - enterprise_linux = 10.2
  - enterprise_linux_for_els = 10.2
  - enterprise_linux_for_eus = 10.2
  - enterprise_linux_for_ibm_z_systems = 10.0
  - enterprise_linux_for_ibm_z_systems = 10.2
  - enterprise_linux_for_ibm_z_systems_els = 10.2
  - enterprise_linux_for_ibm_z_systems_eus = 10.2
  - enterprise_linux_for_power_little_endian = 10.0
  - enterprise_linux_for_power_little_endian = 10.2
  - enterprise_linux_for_power_little_endian_els = 10.2
  - enterprise_linux_for_power_little_endian_eus = 10.2
patched:
  - libssh 0.11.5
published: '2026-07-21'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T19:48:05.513'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-59849'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:42922'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:55855'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-59849'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2498182'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00438
epssPercentile: 0.35364
ingestedAt: '2026-09-22T20:10:15.030Z'
---

## Overview

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.

## Affected

- `libssh >= 0.11.0, < 0.11.5`
- `libssh = 0.12.0`
- `hardened_images`
- `enterprise_linux = 10.0`
- `enterprise_linux = 10.2`
- `enterprise_linux_for_els = 10.2`
- `enterprise_linux_for_eus = 10.2`
- `enterprise_linux_for_ibm_z_systems = 10.0`
- `enterprise_linux_for_ibm_z_systems = 10.2`
- `enterprise_linux_for_ibm_z_systems_els = 10.2`
- `enterprise_linux_for_ibm_z_systems_eus = 10.2`
- `enterprise_linux_for_power_little_endian = 10.0`
- `enterprise_linux_for_power_little_endian = 10.2`
- `enterprise_linux_for_power_little_endian_els = 10.2`
- `enterprise_linux_for_power_little_endian_eus = 10.2`

## Remediation

Upgrade past the affected range:

- `libssh 0.11.5`
