openssh — security advisory
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.
- Products
- openssh
- Affected versions
- 1:10.0p1-7, 1:10.0p1-7+deb13u1, 1:10.0p1-8, 1:10.1p1-1, 1:10.1p1-2, 1:10.2p1-1, 1:10.2p1-2, 1:10.2p1-2~bpo13+1, 1:10.2p1-3, 1:10.2p1-4, 1:10.2p1-5, 1:10.2p1-6~bpo13+1, 1:9.2p1-2, 1:9.2p1-2+deb12u1, 1:9.2p1-2+deb12u2, 1:9.2p1-2+deb12u3, 1:9.2p1-2+deb12u4, 1:9.2p1-2+deb12u5, 1:9.2p1-2+deb12u6, 1:9.2p1-2+deb12u7, 1:9.2p1-2+deb12u8
- Fixed versions
- 1:10.0p1-7+deb13u2, 1:10.2p1-6, 1:9.2p1-2+deb12u9
- CVEs
- CVE-2026-3497
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:45 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-3497
openssh
Fixed versions: 1:9.2p1-2+deb12u9
openssh
Fixed versions: 1:10.0p1-7+deb13u2
openssh
Fixed versions: 1:10.2p1-6
Complete source record
{
"id": "552712b5cdd0194af64e35086e17c16199c0f762f3a8b2cf5162937fe5b766d3",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-3497",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-3497",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-3497",
"products": [
{
"name": {
"value": "openssh",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:9.2p1-2+deb12u9",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "1:9.2p1-2",
"evidence": "/affected/0/versions"
},
{
"value": "1:9.2p1-2+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "1:9.2p1-2+deb12u2",
"evidence": "/affected/0/versions"
},
{
"value": "1:9.2p1-2+deb12u3",
"evidence": "/affected/0/versions"
},
{
"value": "1:9.2p1-2+deb12u4",
"evidence": "/affected/0/versions"
},
{
"value": "1:9.2p1-2+deb12u5",
"evidence": "/affected/0/versions"
},
{
"value": "1:9.2p1-2+deb12u6",
"evidence": "/affected/0/versions"
},
{
"value": "1:9.2p1-2+deb12u7",
"evidence": "/affected/0/versions"
},
{
"value": "1:9.2p1-2+deb12u8",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "openssh",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:10.0p1-7+deb13u2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "1:10.0p1-7",
"evidence": "/affected/1/versions"
},
{
"value": "1:10.0p1-7+deb13u1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "openssh",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1:10.2p1-6",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "1:10.0p1-7",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.0p1-8",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.1p1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.1p1-2",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.2p1-1",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.2p1-2",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.2p1-2~bpo13+1",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.2p1-3",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.2p1-4",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.2p1-5",
"evidence": "/affected/2/versions"
},
{
"value": "1:10.2p1-6~bpo13+1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-3497",
"aliases": [
"DEBIAN-CVE-2026-3497"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:9.2p1-2+deb12u9"
}
]
}
],
"package": {
"name": "openssh",
"purl": "pkg:deb/debian/openssh?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1:9.2p1-2",
"1:9.2p1-2+deb12u1",
"1:9.2p1-2+deb12u2",
"1:9.2p1-2+deb12u3",
"1:9.2p1-2+deb12u4",
"1:9.2p1-2+deb12u5",
"1:9.2p1-2+deb12u6",
"1:9.2p1-2+deb12u7",
"1:9.2p1-2+deb12u8"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-3497.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:10.0p1-7+deb13u2"
}
]
}
],
"package": {
"name": "openssh",
"purl": "pkg:deb/debian/openssh?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1:10.0p1-7",
"1:10.0p1-7+deb13u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-3497.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1:10.2p1-6"
}
]
}
],
"package": {
"name": "openssh",
"purl": "pkg:deb/debian/openssh?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1:10.0p1-7",
"1:10.0p1-8",
"1:10.1p1-1",
"1:10.1p1-2",
"1:10.2p1-1",
"1:10.2p1-2",
"1:10.2p1-2~bpo13+1",
"1:10.2p1-3",
"1:10.2p1-4",
"1:10.2p1-5",
"1:10.2p1-6~bpo13+1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-3497.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T09:47:38.966234556Z",
"provider": "osv",
"upstream": [
"CVE-2026-3497"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-3497"
]
},
"related_cves": [
{
"value": "CVE-2026-3497",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 328138,
"published_at": "2026-03-12T19:16:19.91+00:00"
}