CVE-2026-3497

HIGH

OpenSSH GSSAPI Patches in Ubuntu - Use of Uninitialized Resource via Unexpected GSSAPI Message

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.5
EPSS 0.0196
EPSS Percentile 77.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-908
Status published
Products (12)
canonical/ubuntu_linux 25.10
canonical/ubuntu_linux 20.04
canonical/ubuntu_linux 22.04
canonical/ubuntu_linux 24.04
debian/debian_linux 11.0
openbsd/openssh
redhat/enterprise_linux 8.0
redhat/enterprise_linux 9.0
redhat/enterprise_linux 10.0
Ubuntu/openssh 1:10.0p1-5ubuntu5 - 1:10.0p1-5ubuntu5.1
... and 2 more
Published Mar 12, 2026
Tracked Since Mar 13, 2026