Summary
sshd in OpenSSH on Linux can accept any password between 256 and 1024 characters for some accounts. Versions before 10.6p2 are affected when musl libc is used without PAM, for example on Alpine Linux. Update to OpenSSH 10.6p2 or your distribution's fixed package, restart sshd, and check your logs for unexpected password logins.
Who is affected
- OpenSSH before 10.6p2 on Linux is affected when musl libc is used without PAM. Alpine Linux is one example of such a platform.
- The OpenSSH maintainers say these systems are not affected: non-Linux systems, Linux systems that use glibc, and Linux systems that use PAM for password authentication.
- Alpine Linux says all its releases from 3.16 to 3.24 and edge are affected. This applies to the
openssh-serverpackage without PAM, and toopenssh-server-pamwithUsePAM no.openssh-server-pamwithUsePAM yesis not affected. - Alpine Linux says an attack only works when password login is on (
PasswordAuthentication yes, the default) and the system has an account whose password field in/etc/shadowis*. That includes key-only accounts androot. Accounts locked with!are not affected. - Alpine Linux says its official tiny-cloud images from 3.18.11 through 3.24.3 ship an
alpineuser with a*password and passwordlessdoas.
How to check
- Find out whether your Linux systems running sshd use musl libc without PAM. Alpine Linux is one example of such a platform.
- Compare the installed OpenSSH version with the fixed version. Upstream this is 10.6p2. Distributions can ship the fix under a different version number. Alpine Linux lists these fixed
opensshpackage versions: edge 10.6_p2-r0, 3.24 10.3_p1-r2, 3.23 10.2_p1-r1, 3.22 10.0_p1-r11, 3.21 9.9_p2-r1, 3.20 9.7_p1-r6, 3.19 9.6_p1-r3, 3.18 9.3_p2-r4, 3.17 9.1_p1-r7, 3.16 9.0_p1-r6. - Check whether password login is on. Run
sshd -T | grep -i passwordauthentication. The answerpasswordauthentication nomeans password login is off. - Look in
/etc/shadowfor accounts with*in the password field. - Check for signs of misuse. Alpine Linux names these: sshd lines in
/var/log/messagesreading "Accepted password for" an account that has no password (such asroot,alpineor a key-only user), unexpecteddoasuse, newly created users, new files, or newauthorized_keysentries.
What to do
- Update OpenSSH to 10.6p2, or to the fixed package of your distribution (see the list under "How to check"). Then restart sshd. Alpine Linux warns that upgrading the package alone does not replace the running daemon; on Alpine use
rc-service sshd restart. - If you cannot update right away, turn off password login: set
PasswordAuthentication noand restart sshd. The OpenSSH maintainers advise this, or disabling SSH, for affected systems. Alpine Linux advises to keep an existing session open and test a new key login first. - Check every affected system for signs of misuse (see step 5 under "How to check"). The fix has been available since 2026-11-05 and CISA added this vulnerability to its list of exploited vulnerabilities on 2026-11-09, so a system that was updated late may already have been accessed.
- If you cannot rule out a login, treat the system as compromised. This is the advice of Alpine Linux.
Severity
Critical. OpenSSH calls the fix in 10.6p2 a "critical security workaround". OpenSSH gives no score. The CVE record gives a CVSS 3.1 base score of 8.1 (HIGH), vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, assigned by MITRE.
What we verified
Nothing in our own lab. This advisory was compiled automatically from the sources below. "Exploited in attacks" rests on the CISA Known Exploited Vulnerabilities catalog, which added CVE-2026-123158 on 2026-11-09. We did not observe the attacks ourselves.
Update log
- 2 December 2026: Severity changed from high to critical, following OpenSSH. Added the OpenSSH release notes, the workaround, the fixed Alpine Linux package versions, the restart of sshd, and the signs of misuse.
- 28 November 2026, 12:41 UTC: Added to the website afterwards, compiled automatically.
Sources
- OpenSSH release notes, 10.6p2, released 2026-11-05
- OpenSSH 10.6p2 release announcement by Damien Miller on openssh-unix-dev, 2026-11-05
- CVE record CVE-2026-123158
- CISA Known Exploited Vulnerabilities catalog, added 2026-11-09
- Alpine Linux: openssh-server password authentication bypass, 2026-11-05
You may quote this advisory if you name CyberScore and link to this page. How we establish facts: our sources and method.