CVE-2026-59847: Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification

Published Jul 8, 2026
·
Updated

A flaw was found in libssh builds using the OpenSSL backend for AES-GCM. In the decrypt path in src/libcrypto.c, the return value from EVPDecryptFinal() was checked incorrectly, so authentication tag verification failures were not handled as integrity failures. This could effectively remove integrity protection for affected AES-GCM sessions and allow an in-path attacker to modify plaintext on the wire without detection.

Other sources

A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.

MITRE

Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification

Microsoft

Affected Software

8 affected componentsFixes available
libssh
libssh libssh
redhat Hardened Images
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0
Microsoft azl3 libssh 0.10.6-8<0.10.6-9
0.10.6-9
Microsoft azl3 libssh 0.10.6-9<0.10.6-9
0.10.6-9

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.10.6-9

Event History

Jul 8, 2026
Data Sourced
via Red Hat·06:22 PM
DescriptionSeverityAffected Software
Jul 21, 2026
CVE Published
via MITRE·01:18 PM
Data Sourced
via MITRE·01:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software
Jul 25, 2026
Data Sourced
via Microsoft·08:05 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:05 AM
Affected Software
Updated
via Microsoft·08:05 AM
DescriptionSeverity
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-59847?

The severity of CVE-2026-59847 is rated as high with a score of 7.5.

2

How do I fix CVE-2026-59847?

To fix CVE-2026-59847, update libssh to a version that includes the security patch addressing the integrity downgrade issue.

3

What software is affected by CVE-2026-59847?

CVE-2026-59847 affects Red Hat Enterprise Linux and any products utilizing the libssh library with the OpenSSL backend.

4

What type of vulnerability is CVE-2026-59847?

CVE-2026-59847 is classified as an integrity downgrade vulnerability due to improper handling of authentication tag verification failures.

5

Is CVE-2026-59847 easy to exploit?

CVE-2026-59847 has the potential for exploitation as it affects the cryptographic integrity checks, but the impact depends on the specific implementation.

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