OpenSSH GSSAPI Flaw Exploited
A newly discovered vulnerability in the GSSAPI Key Exchange patch for OpenSSH is putting multiple Linux distributions at risk.
Tracked as CVE-2026-3497, the flaw allows unauthenticated attackers to crash SSH child processes using a single crafted packet.
This leads to reliable denial-of-service conditions and to privilege separation boundary violations.
The issue was discovered by security researcher Jeremy Brown and recently disclosed to the open-source security community by Marc Deslauriers from Canonical.
The vulnerability stems from a fundamental coding error within the error-handling logic of the GSSAPI key exchange (KEX) server loop.
When handling an error condition, the code mistakenly calls the non-terminating function sshpkt_disconnect() instead of the intended terminating function ssh_packet_disconnect().
Because the incorrect function only queues a disconnect message and returns rather than killing the process, the program falls through to a default error-handling case.
This allows the system to read an uninitialized stack variable named recv_tok. The system then sends the contents of this uninitialized variable to the privileged root monitor process via Inter-Process Communication (IPC) before passing it to gss_release_buffer().
Finally, this function attempts to call free() on a garbage pointer, leading to severe memory corruption.
The residual stack data contained in the uninitialized variable varies heavily depending on the compiler, optimization levels, and flags used during the build process.
Despite this variability, the flaw poses significant security risks.
Key technical impacts and exploitation details include:
Canonical maintainers have provided a patch to resolve the defect. The fix is straightforward: replace the erroneous sshpkt_disconnect() function with ssh_packet_disconnect() at the three vulnerable server-side call sites in kexgsss.c file.
System administrators running Debian or Ubuntu servers should immediately update their OpenSSH packages.
For organizations unable to patch immediately, turning off the GSSAPIKeyExchange feature in the SSH daemon configuration will effectively mitigate the threat.
Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.
Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…
Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…
Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…
A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…
GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…
Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…