OpenSSH 10.6 security fixes on Ubuntu 24.04: check USN-8928-1
Check which OpenSSH 10.6 security fixes Ubuntu 24.04's 9.6p1 carries (fixed in 13.20, per Ubuntu's notice), then audit and disable SSH Compression.
Ubuntu 24.04 backported the OpenSSH 10.6 security fixes into 1:9.6p1-3ubuntu13.20 (USN-8928-1), so check that your installed version is that or newer. The OpenSSH 10.6 release notes (2026-10-06) list security items for sftp path checks, GSSAPI credentials and compression. A server on Ubuntu 24.04 runs 9.6p1, not 10.6, so the question is not "do I upgrade" but "did Ubuntu backport the same fixes into 9.6p1". If it did, you only need to check the package version. The compression setting is separate and you can turn it off yourself.
[1] Start with the official sources. On the OpenSSH side, the release notes "Security" section for 10.6 says "disable LZ77 dictionary coder to mitigate the side-channel leaks", and advises application-level compression because compression gets less effective. The notes do not list affected versions.
On the Ubuntu side, USN-8928-1 (2026-10-14, "OpenSSH vulnerabilities") covers 24.04 LTS, and the same notice covers 22.04 (1:8.9p1-3ubuntu0.18) and 26.04 (1:10.2p1-2ubuntu3.8), so check servers on those releases against it too. The 24.04 fixed versions:
| Package | 24.04 fixed version |
|---|---|
| openssh-client | 1:9.6p1-3ubuntu13.20 |
| openssh-server | 1:9.6p1-3ubuntu13.20 |
The same notice lists CVEs for sftp recursive-copy path handling (CVE-2026-106552), GSSAPI authentication state (CVE-2026-106553, CVE-2026-106555), information leaks through LZ77 compression (CVE-2026-106582), special characters in command-line usernames (CVE-2026-106583), ssh-keygen daylight saving time handling (CVE-2026-106584), the decompression length check (CVE-2026-106585), the restrict keyword (CVE-2026-106586) and the none value (CVE-2026-106587). Ubuntu's page for CVE-2026-106587 also shows noble as Fixed in 1:9.6p1-3ubuntu13.20.
[2] Check your server. ssh -V prints the package revision (Ubuntu-3ubuntu13.20), and dpkg-query gives the exact package version.
$ ssh -V$ dpkg-query -W -f='${Package} ${Version}\n' openssh-server openssh-clientOpenSSH_9.6p1 Ubuntu-3ubuntu13.20, OpenSSL 3.0.13 30 Jan 2024openssh-client 1:9.6p1-3ubuntu13.20openssh-server 1:9.6p1-3ubuntu13.20Do not compare versions by eye. dpkg --compare-versions prints the message only if the installed version is 13.20 or later:
$ dpkg --compare-versions "$(dpkg-query -W -f='${Version}' openssh-server)" ge 1:9.6p1-3ubuntu13.20 && echo "installed >= fixed"installed >= fixedNo output means an older version. The release-pocket package 1:9.6p1-3ubuntu13 sorts lower than 13.20 (confirmed with older is lower).
[3] If it is older, update. On a remote server keep a second terminal open, because sshd may restart (restart behavior was not tested in a container).
$ sudo apt update$ sudo apt install --only-upgrade openssh-server openssh-clientThe package changelog confirms the compression fix:
$ zcat /usr/share/doc/openssh-client/changelog.Debian.gz | sed -n 19,23p * SECURITY UPDATE: incorrect use of LZ77 dictionary coder - debian/patches/CVE-2026-106582.patch: upstream: Disable LZ77 dictionary coder to avoid a potential in packet.c. - CVE-2026-106582 * SECURITY UPDATE: invalid chars in command-line username[4] Now the compression setting. Even on a fixed build, OpenSSH recommends application-level compression, so see whether compression is on. Ask for the effective values instead of reading config files.
$ sshd -T | grep -i compression$ ssh -G example.com | grep -i compression$ ssh -G -C example.com | grep -i compressioncompression yescompression nocompression yesIn order: the server, the client default, and the client with -C. In the container (no Compression line anywhere in the config files) the server said yes and the client said no. The server's yes allows compression after authentication; it only happens if the client asks for it. Connections made with -C or Compression yes are the ones affected.
[5] Turn it off on the server. A drop-in under sshd_config.d leaves the main file alone and is easy to remove. The first value read wins in sshd, so name the file with an early prefix such as 10-. Test the syntax before applying (test, then reload).
$ printf 'Compression no\n' | sudo tee /etc/ssh/sshd_config.d/10-no-compression.conf$ sudo sshd -t && echo config-ok$ sudo sshd -T | grep -i compression$ sudo systemctl reload sshIn the test sshd -t printed config-ok and sshd -T changed to compression no. The container has no systemd, so reload was not run.
To roll back, delete the file and reload. The client works the same way:
$ printf 'Host *\n Compression no\n' | sudo tee /etc/ssh/ssh_config.d/10-no-compression.conf$ ssh -G example.com | grep -i compression$ ssh -G -o Compression=yes example.com | grep -i compressioncompression nocompression yesThe default is now off, but ssh uses the first value it reads, in the order command line, then the user's ~/.ssh/config, then system /etc/ssh/ssh_config(.d). So -o Compression=yes and -C on the command line, and Compression yes in any user's ~/.ssh/config, still win (user files were not tested). Hunt down scripts and aliases that pass -C, and user configs that set it.
Where checks get confusing
compression yesinsshd -Tread as "allowed", not "always compressing". Actual negotiation was not tested.- At 13.20 or later the LZ77 item is already patched, so
Compression nois an extra step. Vendor advisories reviewed for this post do not say it is required. Compressionis not a keyword allowed inside ansshd_configMatchblock (it is missing from the allowed list in sshd_config(5)). The global value fromsshd -Tis the only one to check, and putting it inMatchcan makesshd -tfail.