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

Impact

The vulnerability lies in libssh’s use of the OpenSSL backend, where incorrect AES‑GCM finalization checks can effectively disable integrity protection. An attacker who can intercept SSH traffic may alter the plaintext being transmitted without the alteration being detected by the recipient. The flaw creates a potential for undetected data tampering on the wire and is classified as CWE‑1310, a failure to perform required checks on sensitive data.

Affected Systems

Affected products include Red Hat Enterprise Linux 10, 8, 9, and Red Hat Hardened Images, all of which ship the vulnerable libssh library in their default packages. The associated CPEs list the Hummingbird service and the RHEL operating systems for versions 8 through 10. Users running these distributions without a newer libssh layer are at risk.

Risk and Exploitability

The CVSS score of 5.9 indicates moderate severity, and the EPSS score of less than 1% suggests a low current exploitation probability. The vulnerability is not listed in CISA’s KEV catalog, but its nature allows an in‑path attacker—someone capable of intercepting or modifying traffic between an SSH client and server—to leverage the issue. No public exploit reports are known, but the combination of the weak integrity check and common SSH usage means the risk warrants timely remediation. The only mitigation offered by the vendor is to disable the aes128-gcm@openssh.com and aes256-gcm@openssh.com ciphers, after which the integrity guarantees of the remaining algorithms remain intact.

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

Remediation

Vendor Workaround

Disable the aes128-gcm@openssh.com and aes256-gcm@openssh.com ciphers.


OpenCVE Recommended Actions

  • Update libssh to the latest RHEL package that contains the fixed OpenSSL AES‑GCM tag verification implementation.
  • Disable aes128-gcm@openssh.com and aes256-gcm@openssh.com ciphers on all SSH servers and clients to prevent the use of the vulnerable algorithms.
  • Review your SSH configuration to enforce the use of secure ciphers and monitor for any abnormal traffic patterns that might indicate attempts to tamper with data.

Generated by OpenCVE AI on July 30, 2026 at 17:30 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 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 21 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1310
Metrics ssvc

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


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

Type Values Removed Values Added
Description 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.
Title Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
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': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

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

Status: PUBLISHED

Assigner: redhat

Published:

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

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

Link: CVE-2026-59847

cve-icon Vulnrichment

Updated: 2026-07-21T14:04:40.822Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-21T13:02:11Z

Links: CVE-2026-59847 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:45:03Z

Weaknesses
  • CWE-1310

    Missing Ability to Patch ROM Code