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.
Description as published by the source, in English.
Key facts
- Published
- 2026-03-12
- Last modified
- 2026-11-10
- Assigned by
- security@ubuntu.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
2.2 %
higher than 81 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Canonical | Ubuntu Linux | 20.04 | Affected |
| Canonical | Ubuntu Linux | 22.04 | Affected |
| Canonical | Ubuntu Linux | 24.04 | Affected |
| Canonical | Ubuntu Linux | 25.10 | Affected |
| Debian | Debian Linux | 11.0 | Affected |
| Openbsd | Openssh | all versions listed | Affected |
| Redhat | Enterprise Linux | 10.0 | Affected |
| Redhat | Enterprise Linux | 8.0 | Affected |
| Redhat | Enterprise Linux | 9.0 | Affected |
Weakness type
-
CWE-824: Access of Uninitialized Pointer
The product accesses or uses a pointer that has not been initialized.
-
CWE-908: Use of Uninitialized Resource
The product uses or accesses a resource that has not been initialized.
References
- https://ubuntu.com/security/CVE-2026-3497
- https://www.openwall.com/lists/oss-security/2026/03/12/3
- http://www.openwall.com/lists/oss-security/2026/03/12/3
- http://www.openwall.com/lists/oss-security/2026/03/14/3
- http://www.openwall.com/lists/oss-security/2026/03/14/4
- http://www.openwall.com/lists/oss-security/2026/03/18/2
- http://www.openwall.com/lists/oss-security/2026/03/18/4
- http://www.openwall.com/lists/oss-security/2026/03/18/5
- http://www.openwall.com/lists/oss-security/2026/03/18/7
- https://lists.debian.org/debian-lts-announce/2026/04/msg00014.html
- https://access.redhat.com/errata/RHSA-2026:10065
- https://access.redhat.com/errata/RHSA-2026:10714
- https://access.redhat.com/errata/RHSA-2026:12071
- https://access.redhat.com/errata/RHSA-2026:13750
- https://access.redhat.com/errata/RHSA-2026:13812
- https://access.redhat.com/errata/RHSA-2026:14773
- https://access.redhat.com/errata/RHSA-2026:14924
- https://access.redhat.com/errata/RHSA-2026:15087
- https://access.redhat.com/errata/RHSA-2026:15891
- https://access.redhat.com/errata/RHSA-2026:15893
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.