CVE-2026-55653 PUBLISHED

Openssh: double free in red hat enterprise linux versions of openssh dh-gex client path during fips known-group validation leads to client-side denial of service

Assigner: redhat
Reserved: 16.06.2026 Published: 23.06.2026 Updated: 23.06.2026

A flaw was found in OpenSSH. A malicious SSH server can exploit a double free vulnerability in the Diffie-Hellman Group Exchange (DH-GEX) client path. This occurs during FIPS (Federal Information Processing Standards) mode known-group validation when the client processes attacker-controlled DH-GEX group parameters. Successful exploitation leads to client-side process termination, resulting in a Denial of Service (DoS).

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CVSS Score: 4.3

Product Status

Vendor Red Hat
Product Red Hat Enterprise Linux 10
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 6
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 7
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 8
Versions Default: affected
Vendor Red Hat
Product Red Hat Enterprise Linux 9
Versions Default: affected
Vendor Red Hat
Product Red Hat Hardened Images
Versions Default: affected
Vendor Red Hat
Product Red Hat OpenShift Container Platform 4
Versions Default: affected

Workarounds

To mitigate this issue, OpenSSH clients operating in FIPS mode should avoid negotiating the diffie-hellman-group-exchange-sha256 key exchange algorithm. This can be achieved by explicitly listing allowed key exchange algorithms in the client's SSH configuration file (e.g., /etc/ssh/ssh_config or ~/.ssh/config), ensuring diffie-hellman-group-exchange-sha256 is not included. For example, to use a subset of common algorithms, you might configure:

KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group14-sha1

(Note: The above example KexAlgorithms list is illustrative and should be adjusted based on your environment's security requirements.)

Additionally, avoid using non-fatal client flows, such as ssh-keyscan, against untrusted SSH servers while FIPS mode is enabled. Changes to ssh_config will take effect for new SSH connections.

References

Problem Types

  • Double Free CWE