CVE-2026-3497

NameCVE-2026-3497
DescriptionVulnerability 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1130595

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
openssh (PTS)bullseye1:8.4p1-5+deb11u3vulnerable
bullseye (security)1:8.4p1-5+deb11u5vulnerable
bookworm1:9.2p1-2+deb12u7vulnerable
bookworm (security)1:9.2p1-2+deb12u5vulnerable
trixie1:10.0p1-7+deb13u1vulnerable
forky1:10.2p1-5vulnerable
sid1:10.2p1-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
opensshsource(unstable)1:10.2p1-61130595

Notes

https://www.openwall.com/lists/oss-security/2026/03/12/3
Introduced with: https://salsa.debian.org/ssh-team/openssh/-/commit/865a97e05b6aab1619e1c8eeb33ccb8f9a9e48d3 (debian/1%8.0p1-1)

Search for package or bug name: Reporting problems