CVE-2026-3497 Details
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.
A vulnerability exists in the OpenSSH GSSAPI key exchange patch implemented by various Linux distributions. This issue arises from the use of 'sshpkt_disconnect()', a non-terminating function, instead of 'ssh_packet_disconnect()', which properly terminates the process. As a result, an attacker can send a crafted GSSAPI message during the key exchange, leading to the unintentional use of an uninitialized variable. This flaw can cause the program to access random memory, potentially resulting in undefined behavior. The vulnerability is present in OpenSSH versions 8.9p1 and 9.1p1, specifically within the GSSAPI key exchange implementation.
Users can apply the patch provided by the Ubuntu security team, which replaces 'sshpkt_disconnect()' with 'ssh_packet_disconnect()' at the relevant call sites in the GSSAPI key exchange server code.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-824 | Access of Uninitialized Pointer | redhat-SADP |
| CWE-908 | Use of Uninitialized Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| canonical ubuntu linux | 25.10 20.04 22.04 24.04 |
CPE
Remediation
| |
| openbsd openssh | All versions |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
| redhat enterprise linux | 8.0 9.0 10.0 |
CPE
Remediation
| |
Change History
14 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jul 14, 2026 | CVE Modified | siemens-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 2, 2026 | Initial Analysis | [email protected] |
| Apr 16, 2026 | CVE Modified | CVE |
| Mar 18, 2026 | CVE Modified | CVE |
| Mar 18, 2026 | CVE Modified | CVE |
| Mar 18, 2026 | CVE Modified | CVE |
| Mar 18, 2026 | CVE Modified | CVE |
| Mar 16, 2026 | CVE Modified | CVE |
| Mar 12, 2026 | CVE Modified | CVE |
| Mar 12, 2026 | New CVE Received | [email protected] |