CVE-2026-3497: CWE-908 Use of Uninitialized Resource in Ubuntu openssh
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.
AI Analysis
Technical Summary
CVE-2026-3497 is a vulnerability in the OpenSSH GSSAPI delta patches applied by various Linux distributions such as Ubuntu. The issue arises when sshpkt_disconnect() is called on an error during the GSSAPI key exchange; this function does not terminate the process, allowing an attacker to send unexpected GSSAPI message types. This leads to the program continuing execution without initializing certain connection variables, which are then accessed uninitialized, causing undefined behavior. The recommended workaround is to use ssh_packet_disconnect(), which terminates the process properly. The vulnerability's impact is influenced by compiler flag hardening configurations. The upstream OpenSSH project is not affected. Red Hat advisories provide updates and fixes for their distributions.
Potential Impact
The vulnerability can lead to undefined behavior due to access of uninitialized memory during the GSSAPI key exchange in OpenSSH patched versions. The severity is low (CVSS 2.7), and the impact depends heavily on compiler hardening flags. There are no known exploits in the wild. The issue may cause information disclosure or denial of service but does not allow privilege escalation or remote code execution as per current data.
Mitigation Recommendations
No official patch links are provided in the input data. The recommended workaround is to replace calls to sshpkt_disconnect() with ssh_packet_disconnect(), which terminates the process and avoids use of uninitialized variables. Users should monitor vendor advisories, such as those from Red Hat, for official patches and updates. Red Hat has released errata addressing this vulnerability. Ubuntu users should check their distribution's security updates for fixes. Patch status is not yet confirmed explicitly for Ubuntu; check vendor advisories for current remediation guidance.
CVE-2026-3497: CWE-908 Use of Uninitialized Resource in Ubuntu openssh
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.
CVSS v4.0
Score 2.7low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-3497 is a vulnerability in the OpenSSH GSSAPI delta patches applied by various Linux distributions such as Ubuntu. The issue arises when sshpkt_disconnect() is called on an error during the GSSAPI key exchange; this function does not terminate the process, allowing an attacker to send unexpected GSSAPI message types. This leads to the program continuing execution without initializing certain connection variables, which are then accessed uninitialized, causing undefined behavior. The recommended workaround is to use ssh_packet_disconnect(), which terminates the process properly. The vulnerability's impact is influenced by compiler flag hardening configurations. The upstream OpenSSH project is not affected. Red Hat advisories provide updates and fixes for their distributions.
Potential Impact
The vulnerability can lead to undefined behavior due to access of uninitialized memory during the GSSAPI key exchange in OpenSSH patched versions. The severity is low (CVSS 2.7), and the impact depends heavily on compiler hardening flags. There are no known exploits in the wild. The issue may cause information disclosure or denial of service but does not allow privilege escalation or remote code execution as per current data.
Mitigation Recommendations
No official patch links are provided in the input data. The recommended workaround is to replace calls to sshpkt_disconnect() with ssh_packet_disconnect(), which terminates the process and avoids use of uninitialized variables. Users should monitor vendor advisories, such as those from Red Hat, for official patches and updates. Red Hat has released errata addressing this vulnerability. Ubuntu users should check their distribution's security updates for fixes. Patch status is not yet confirmed explicitly for Ubuntu; check vendor advisories for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- canonical
- Date Reserved
- 2026-03-03T19:33:05.664Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-3497","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21695","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13812","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:21690","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:15087","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:14773","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:20087","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:17596","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:12071","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:20040","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7107","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6463","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6461","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:15891","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:15893","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:14924","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:13750","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10714","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:9732","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:9415","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:6462","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:25096","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19724","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:19725","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16008","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16030","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16009","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:16174","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5475","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:10065","vendor":"Red Hat"}]
Threat ID: 69b30a4d2f860ef943dbc47e
Added to database: 03/12/2026, 18:47:41 UTC
Last enriched: 07/15/2026, 09:08:10 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 161
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.