Published

Tech News

SSHole (CVE-2026-123158): Patch OpenSSH on Alpine and OpenWrt

A new OpenSSH flaw was exploited within hours of disclosure. Most mainstream Linux servers are not affected. Here is how to tell and how to fix it.

1. The flaw

An oversized password (257 to 1,024 bytes) gets an attacker into accounts whose password hash is '*', the ones meant to have no password.

2. Who is affected

OpenSSH built on musl libc with PAM disabled and password logins on: Alpine Linux's default sshd, OpenWrt, Buildroot and Yocto. Ubuntu, Debian and Fedora (glibc), Dropbear and PAM setups are not.

3. Patch Alpine

Update OpenSSH to 10.6p2 or later and restart sshd.

apk update && apk upgrade openssh && rc-service sshd restart

4. Can't patch yet?

Turn off password logins and use SSH keys. Set this in /etc/ssh/sshd_config, then restart sshd.

PasswordAuthentication no

5. Check for a break-in

Look for password logins on accounts that should only use keys, such as root.

grep 'Accepted password for' /var/log/messages

Sources

OpenSSH release notes; The Hacker News; Help Net Security, November 2026.

FAQ

Is my Ubuntu server at risk?

Not from this flaw. Standard Ubuntu, Debian and Fedora builds use glibc and PAM.

What is the fixed version?

OpenSSH 10.6p2, released November 5, 2026.