CVE-2026-59849: Libssh: libssh: denial of service via automatic certificate authentication loop

Published Jul 8, 2026
·
Updated

A flaw was found in libssh automatic certificate-based public key authentication. In sshuserauthpublickeyauto() in src/auth.c, the iterator over certificate candidates was not advanced correctly when configured certificates were missing or repeatedly rejected by the server. Under specific non-default certificate configurations, this could cause the client to restart the same authentication attempts indefinitely, leading to denial of service.

Other sources

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.

MITRE

Affected Software

4 affected components
libssh libssh
libssh libssh
redhat Hardened Images
redhat Enterprise Linux=10.0

Event History

Jul 8, 2026
Data Sourced
via Red Hat·06:22 PM
DescriptionSeverityAffected Software
Jul 21, 2026
CVE Published
via MITRE·02:08 PM
Data Sourced
via MITRE·02:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-59849?

CVE-2026-59849 has a severity rating of 7.5, classified as high.

2

What types of attacks are possible due to CVE-2026-59849?

CVE-2026-59849 can lead to a denial of service due to an automatic certificate authentication loop.

3

How do I fix CVE-2026-59849?

To mitigate CVE-2026-59849, ensure that the libssh is updated to the latest patched version that addresses this vulnerability.

4

Which software versions are affected by CVE-2026-59849?

CVE-2026-59849 affects libssh, Red Hat Hardened Images, and Red Hat Enterprise Linux.

5

What is the impact of CVE-2026-59849 on server security?

The impact of CVE-2026-59849 includes potential service disruptions due to an inability to authenticate certificates, leading to denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203