CVE-2026-3497
Description
Vulnerability in the OpenSSH GSSAPI delta included in various Linux distributions. This vulnerability affects the GSSAPI patches added by various Linux distributions and does not affect the OpenSSH upstream project itself. The usage of sshpkt_disconnect() on an error, which does not terminate the process, allows an attacker to send an unexpected GSSAPI message type during the GSSAPI key exchange to the server, which will call the underlying function and continue the execution of the program without setting the related connection variables. As the variables are not initialized to NULL the code later accesses those uninitialized variables, accessing random memory, which could lead to undefined behavior. The recommended workaround is to use ssh_packet_disconnect() instead, which does terminate the process. The impact of the vulnerability depends heavily on the compiler flag hardening configuration.
How to fix
- access.redhat.com/errata/RHSA-2026:21695
- access.redhat.com/errata/RHSA-2026:13812
- access.redhat.com/errata/RHSA-2026:21690
- access.redhat.com/errata/RHSA-2026:15087
- access.redhat.com/errata/RHSA-2026:14773
- access.redhat.com/errata/RHSA-2026:20087
- access.redhat.com/errata/RHSA-2026:17596
- access.redhat.com/errata/RHSA-2026:12071
- access.redhat.com/errata/RHSA-2026:20040
- access.redhat.com/errata/RHSA-2026:7107
- access.redhat.com/errata/RHSA-2026:6463
- access.redhat.com/errata/RHSA-2026:6461
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openbsd openssh | No range specified | — |
| canonical ubuntu_linux | 25.10, 20.04, 22.04, 24.04 | — |
| debian debian_linux | 11.0 | — |
| redhat enterprise_linux | 8.0, 9.0, 10.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.