7.5
HIGH CVSS 3.1
CVE-2026-3497
Linux OpenSSH GSSAPI Memory Corruption
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.

INFO

Published Date :

March 12, 2026, 7:16 p.m.

Last Modified :

June 2, 2026, 7:43 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-3497 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
2 Canonical ubuntu_linux
1 Redhat enterprise_linux
1 Debian debian_linux
1 Openbsd openssh
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 4.0 LOW cc1ad9ee-3454-478d-9317-d3e869d708bc
CVSS 4.0 MEDIUM [email protected]
Solution
Address memory corruption by applying distribution-specific patches and considering alternative disconnect functions.
  • Apply distribution-specific security patches for OpenSSH GSSAPI.
  • Review and apply suggested workaround using ssh_packet_disconnect().
  • Consider compiler hardening flags to mitigate impact.
  • Update OpenSSH to a patched version.
Public PoC/Exploit Available at Github

CVE-2026-3497 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-3497.

URL Resource
https://ubuntu.com/security/CVE-2026-3497 Third Party Advisory
https://www.openwall.com/lists/oss-security/2026/03/12/3 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2026/03/12/3 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2026/03/14/3 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2026/03/14/4 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2026/03/18/2 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2026/03/18/4 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2026/03/18/5 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2026/03/18/7 Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2026/04/msg00014.html Mailing List Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-3497 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-3497 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

🛡️ VPS-SECURE is the only script that turns a bare VPS into an operational fortress — honeypot, collaborative IPS, real-time dashboard, Telegram alerts — in 15 minutes and 1 command, with zero Linux expertise required. 🚀⚡

bash crowdsec devops docker hardening homelab linux security selfhosted server-security sysadmin ubuntu vps auditd endlessh rkhunter aide vps-hardening cis-benchmark stig

Shell HTML Python Dockerfile

Updated: 2 days, 5 hours ago
19 stars 4 fork 4 watcher
Born at : April 4, 2026, 4:09 p.m. This repo has been linked 5 different CVEs too.

Open Source Security Tool

Python

Updated: 2 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : March 16, 2026, 10:04 a.m. This repo has been linked 3 different CVEs too.

All Public RunWhen Helm Charts - Managed by terraform

Shell Dockerfile Go Template

Updated: 1 week, 4 days ago
1 stars 0 fork 0 watcher
Born at : Sept. 18, 2023, 10:09 a.m. This repo has been linked 115 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-3497 vulnerability anywhere in the article.

  • Daily CyberSecurity
OpenSSH 10.3 Patches Command Execution and “scp” Privilege Escalation

In the critical infrastructure of the internet, OpenSSH stands as one of the most vital gatekeepers for secure remote access. However, even the most trusted tools require constant refinement. A series ... Read more

Published Date: Apr 03, 2026 (2 months ago)
  • CybersecurityNews
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 ... Read more

Published Date: Mar 13, 2026 (2 months, 3 weeks ago)
  • Daily CyberSecurity
A Single Line of Code: Pre-Auth OpenSSH Flaw Exposes Ubuntu and Debian Servers

A flaw has been found in the machinery of OpenSSH. Security researcher Jeremy Brown recently uncovered a critical vulnerability lurking within the GSSAPI Key Exchange patch, a popular modification man ... Read more

Published Date: Mar 13, 2026 (2 months, 3 weeks ago)

The following table lists the changes that have been made to the CVE-2026-3497 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Jun. 02, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CPE Configuration OR *cpe:2.3:a:openbsd:openssh:-:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:24.04:*:*:*:lts:*:*:* *cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:a:canonical:ubuntu_linux:25.10:*:*:*:*:*:*:*
    Added Reference Type Canonical Ltd.: https://ubuntu.com/security/CVE-2026-3497 Types: Third Party Advisory
    Added Reference Type Canonical Ltd.: https://www.openwall.com/lists/oss-security/2026/03/12/3 Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/03/12/3 Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/03/14/3 Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/03/14/4 Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/03/18/2 Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/03/18/4 Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/03/18/5 Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/03/18/7 Types: Mailing List, Third Party Advisory
    Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2026/04/msg00014.html Types: Mailing List, Third Party Advisory
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Apr. 16, 2026

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2026/04/msg00014.html
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 18, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/18/7
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 18, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/18/5
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 18, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/18/4
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 18, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/18/2
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 16, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/14/3
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/14/4
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Mar. 12, 2026

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2026/03/12/3
  • New CVE Received by [email protected]

    Mar. 12, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CWE CWE-908
    Added Reference https://ubuntu.com/security/CVE-2026-3497
    Added Reference https://www.openwall.com/lists/oss-security/2026/03/12/3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.