Security advisory Debian

Debian OpenSSH GSSAPI key exchange flaw (DSA-6204-1, CVE-2026-3497): who is affected and how to update

DSA-6204-1 fixes a flaw in Debian's GSSAPI key exchange patch for OpenSSH. Only servers with GSSAPIKeyExchange enabled are exposed.

Published
Reading time
4 min read

Security advisory Vulnerability

Severity: Low Status: Patched
Status
Fixed versions are available for Debian 12 (bookworm) and Debian 13 (trixie).
Affected
  • openssh in Debian 12 (bookworm) before 1:9.2p1-2+deb12u9
  • openssh in Debian 13 (trixie) before 1:10.0p1-7+deb13u2
Published
Updated

What you should do

  • Update openssh-server and openssh-client to at least the fixed version for your release, then restart ssh.
  • Check sshd -T for gssapikeyexchange. If you do not use Kerberos, leave it at the default no.
  • If you cannot update a server that uses GSSAPI key exchange straight away, consider turning the option off until you can, and limit SSH to trusted networks with a firewall.
  • Debian 11 (bullseye) is past its LTS period; upgrade those systems rather than waiting for fixes.
  • Ubuntu ships its own builds; check Ubuntu Security Notices rather than using Debian versions.
Timeline
  1. Debian published DSA-6204-1 for openssh.
  2. Skyline published this summary.

On 9 April 2026 Debian published DSA-6204-1 for openssh on Debian 12 (bookworm) and Debian 13 (trixie). It fixes CVE-2026-3497, a flaw in the GSSAPI key exchange patch that Debian (and several other distributions) apply on top of upstream OpenSSH. The default configuration is not affected: the problem only matters on servers where GSSAPIKeyExchange has been switched on, which is usually done for Kerberos single sign-on.

At a glance

ItemDetail
Source packageopenssh (binary packages openssh-server, openssh-client, openssh-sftp-server)
ReleasesDebian 12 (bookworm), Debian 13 (trixie)
Fixed versionsbookworm 1:9.2p1-2+deb12u9; trixie 1:10.0p1-7+deb13u2 (or any later version)
CVEsCVE-2026-3497; the bookworm build also carries CVE-2025-61984 and CVE-2025-61985
SeverityLow by the CNA score (CVSS 4.0 base 2.7); NVD scores it 7.5 High. Only non-default configurations are exposed.
AdvisoryDSA-6204-1, 9 April 2026

What the vulnerabilities are

CVE-2026-3497 (server side). The GSSAPI key exchange code added by distributions handled an error by sending a disconnect message without ending the process. According to the CVE record, an attacker can send an unexpected GSSAPI message type during key exchange, after which the server keeps running and later reads connection variables that were never initialised. Debian's advisory says a remote attacker can use this to cause a denial of service, or potentially the execution of arbitrary code. The CVE record notes that the real impact depends heavily on the compiler hardening used. Upstream OpenSSH is not affected because it does not contain this patch.

The scores differ widely: the CNA (Canonical) rated it CVSS 4.0 base 2.7 (Low), while NVD rated it CVSS 3.1 base 7.5 (High). The practical rule is simple: if your server has GSSAPIKeyExchange yes, treat this update as urgent; if it does not, apply it with your normal updates.

CVE-2025-61984 and CVE-2025-61985 (client side, bookworm only). The bookworm update also includes two fixes that Debian had queued for the 12.14 point release. Both concern the ssh client: control characters in usernames from untrusted sources, and a NUL character in an ssh:// URI, which could lead to code execution when a ProxyCommand is used. Each has a CNA score of 3.6 (Low).

Are you affected?

First check the installed version and compare it with the fixed version for your release:

dpkg-query -W -f='${Package} ${Version}\n' openssh-server openssh-client
apt policy openssh-server

Then check whether GSSAPI key exchange is enabled. sshd -T prints the effective server configuration:

sudo sshd -T | grep -i gssapikeyexchange
grep -ri gssapi /etc/ssh/sshd_config /etc/ssh/sshd_config.d/

The default for GSSAPIKeyExchange in Debian's sshd_config manual page is no. If the output shows gssapikeyexchange yes, the server was exposed until it is updated.

How to update

sudo apt update
sudo apt install --only-upgrade openssh-server openssh-client openssh-sftp-server
apt policy openssh-server

A regular sudo apt upgrade also picks the update up. Your release may already offer a newer version than the one in the advisory; anything at or above the fixed version contains the fix.

On trixie you may also see openssh-server-gssapi and openssh-client-gssapi. The trixie release notes explain that on trixie these are empty packages that depend on openssh-server and openssh-client, so updating the main packages is what matters. If you rely on GSSAPI, the same notes ask you to install them now, because Debian's main OpenSSH packages will stop supporting GSS-API from forky.

Restart or reboot?

No reboot is needed. Restart the SSH service so new connections are handled by the fixed daemon, and keep your current session open while you test a fresh login from a second terminal:

sudo systemctl restart ssh

The client-side fixes take effect the next time ssh is started.

Sources

SKYLINE Engineering

@skyline

The engineering team at SKYLINE Industrial Solutions. We publish field-tested guides drawn from real KSA and GCC deployments.

See author profile
SKYLINE engineering services

Need this implemented for you?

Reading is free — building it right takes a team. SKYLINE engineers ship Debian for Aramco vendors, banks, hospitals and government agencies across Saudi Arabia. Talk to us before you start.

Aramco Approved Contractor ISO 9001 · ISO 27001 SAMA CSF aligned NCA ECC ready 247+ KSA clients

Comments

0 total · 0 threads
Be the first to leave a comment.