{"id":11320,"date":"2026-03-13T10:04:25","date_gmt":"2026-03-13T10:04:25","guid":{"rendered":"https:\/\/serisec.com\/index.php\/2026\/03\/13\/openssh-gssapi-vulnerability-allow-an-attacker-to-crash-ssh-child-processes\/"},"modified":"2026-03-13T10:04:25","modified_gmt":"2026-03-13T10:04:25","slug":"openssh-gssapi-vulnerability-allow-an-attacker-to-crash-ssh-child-processes","status":"publish","type":"post","link":"https:\/\/serisec.com\/index.php\/2026\/03\/13\/openssh-gssapi-vulnerability-allow-an-attacker-to-crash-ssh-child-processes\/","title":{"rendered":"OpenSSH GSSAPI Vulnerability Allow an Attacker to Crash SSH Child Processes"},"content":{"rendered":"<p>    OpenSSH GSSAPI Vulnerability Allow an Attacker to Crash SSH Child Processes<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n    <!-- no image --><br \/>\n \t<BR><br \/>\n<BR><\/BR><\/p>\n<div>\n<p>A significant vulnerability in the GSSAPI Key Exchange patch was applied by numerous Linux distributions on top of their OpenSSH packages.<\/p>\n<p>The flaw, tracked as CVE-2026-3497, was uncovered by security researcher Jeremy Brown. It allows an attacker to crash SSH child processes reliably and potentially violates privilege separation boundaries, all with a single crafted network packet.<\/p>\n<p>The vulnerability stems from a one-line code defect inside <code>kexgsss.c<\/code>, the server-side GSSAPI key exchange handler. A non-terminating function, <code>sshpkt_disconnect()<\/code>, was used in the default error-handling case where the process-terminating <code>ssh_packet_disconnect()<\/code> was actually intended.<\/p>\n<p>Because <code>sshpkt_disconnect()<\/code> only queues a disconnect message and returns rather than halting execution, the error handler falls through into code that reads an uninitialized stack variable called <code>recv_tok<\/code>.<\/p>\n<h2 class=\"wp-block-heading\" id=\"the-root-cause\"><strong>OpenSSH GSSAPI Vulnerability<\/strong><\/h2>\n<p>The contents of that variable are then sent to the privileged monitor process over IPC and passed to <code>gss_release_buffer()<\/code>, which may call <code>free()<\/code> on a garbage pointer resulting in confirmed heap corruption.<\/p>\n<p><a href=\"https:\/\/seclists.org\/oss-sec\/2026\/q1\/299\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Brown\u2019s analysis classifies the bug<\/a> under CWE-824 (access of an uninitialized pointer) and CWE-908 (use of an uninitialized resource). Key impact details include:<\/p>\n<ul class=\"wp-block-list\">\n<li>A single crafted SSH packet of approximately 300 bytes is sufficient to trigger the flaw \u2014 no credentials required<\/li>\n<li>On x86_64 systems, exploitation produces SIGABRT (signal 6) or SIGSEGV (signal 11) with a 90-second SSH lockout<\/li>\n<li>Child process crashes are 100% reliable in tested configurations<\/li>\n<li>Up to 127KB of heap data can be transmitted to the root-level monitor process via the privsep IPC channel, representing a serious privilege separation boundary violation<\/li>\n<\/ul>\n<p>The severity of the vulnerability varies considerably across distributions due to differing compiler options and optimization flags. Clang compiled with <code>-O0<\/code> leaves a pointer value of <code>0xfffbe600<\/code> with a length of 4 bytes, while GCC compiled with <code>-O2 -fno-stack-protector<\/code> leaves a valid heap address with a length of 127,344 bytes.<\/p>\n<p>An eight-build test matrix confirmed that <code>recv_tok.value<\/code> can range from NULL to stack addresses, heap addresses, or entirely unmapped memory regions.<\/p>\n<p>Systems running Ubuntu and Debian OpenSSH servers with <code>GSSAPIKeyExchange yes<\/code> enabled are confirmed to be potentially affected. Because several different versions of the GSSAPI KEX patch are in circulation across the Linux ecosystem, the scope of impact likely extends beyond these two distributions.<\/p>\n<p>The fix is straightforward: replace all three instances of <code>sshpkt_disconnect()<\/code> with <code>ssh_packet_disconnect()<\/code> at the server-side call sites within <code>kexgsss.c<\/code>. Ubuntu has already prepared a patch addressing this issue.<\/p>\n<p><a href=\"https:\/\/cybersecuritynews.com\/openssh-vulnerability-proxycommand\/\" target=\"_blank\" rel=\"noreferrer noopener\">Administrators running OpenSSH<\/a> with GSSAPI key exchange enabled should apply available distribution updates immediately or disable <code>GSSAPIKeyExchange<\/code> as a temporary mitigation.<\/p>\n<p class=\"has-text-align-center has-background\" style=\"background:linear-gradient(180deg,rgb(238,238,238) 94%,rgb(169,184,195) 100%)\"><strong>Follow us on <a href=\"https:\/\/news.google.com\/publications\/CAAqMggKIixDQklTR3dnTWFoY0tGV041WW1WeWMyVmpkWEpwZEhsdVpYZHpMbU52YlNnQVAB?hl=en-IN&amp;gl=IN&amp;ceid=IN:en\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Google News<\/a>, <a href=\"https:\/\/www.linkedin.com\/company\/cybersecurity-news\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">LinkedIn<\/a>, and <a href=\"https:\/\/x.com\/cyber_press_org\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">X<\/a> for daily cybersecurity updates. <a href=\"https:\/\/cybersecuritynews.com\/contact-us\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Contact us<\/a> to feature your stories.<\/strong><\/p>\n<p>The post <a href=\"https:\/\/cybersecuritynews.com\/openssh-gssapi-vulnerability\/\">OpenSSH GSSAPI Vulnerability Allow an Attacker to Crash SSH Child Processes<\/a> appeared first on <a href=\"https:\/\/cybersecuritynews.com\/\">Cyber Security News<\/a>.<\/p>\n<\/div>\n<p> \t<BR><br \/>\n <BR><\/BR><br \/>\n    Guru Baran<br \/>\n \t<BR><br \/>\n<BR><\/BR><br \/>\n<a href=\"https:\/\/cybersecuritynews.com\/openssh-gssapi-vulnerability\/\">Go to cyber-security-news<\/a><br \/>\n \t<BR><br \/>\n <BR><\/BR><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OpenSSH GSSAPI Vulnerability Allow an Attacker to Crash SSH Child Processes A significant vulnerability in the GSSAPI Key Exchange patch was applied by numerous Linux distributions on top of their OpenSSH packages. The flaw, tracked as CVE-2026-3497, was uncovered by security researcher Jeremy Brown. It allows an attacker to crash SSH child processes reliably and [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63,131,648],"tags":[130],"class_list":["post-11320","post","type-post","status-publish","format-standard","hentry","category-cyber-security-news","category-vulnerability","category-vulnerability-news","tag-cyber-security-news"],"_links":{"self":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/11320"}],"collection":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/comments?post=11320"}],"version-history":[{"count":0,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/posts\/11320\/revisions"}],"wp:attachment":[{"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/media?parent=11320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/categories?post=11320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serisec.com\/index.php\/wp-json\/wp\/v2\/tags?post=11320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}