🔍 Read the full analysis: How Linux Admins Can Learn About The OpenSSH SSHole Bug on ThorstenMeyerAI.com
Get smart everyday buys delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
TL;DR
The OpenSSH SSHole flaw, tracked as CVE-2026-123158, can bypass password checks on certain Linux systems using musl libc, without PAM, and with password authentication enabled. OpenSSH released a fix in version 10.6p2; admins should update and restart sshd, or disable password authentication until they can patch.
OpenSSH released version 10.6p2 on November 5 to fix an authentication bypass dubbed SSHole, tracked as CVE-2026-123158. The flaw can let an attacker reach certain Linux accounts without a valid password, but only when several conditions align, including use of the musl C library and password authentication without PAM.
The issue affects configurations where sshd runs on Linux with musl libc, checks passwords without the PAM login framework, and has password authentication enabled. The best-known case is Alpine Linux’s standard openssh-server package. The source report says Debian, Ubuntu and Red Hat have stated that their OpenSSH builds are not affected; their packages use different configurations or libraries.
The reported failure involves long passwords. Alpine’s advisory says musl’s crypt() function returns an asterisk as an error indicator when a password exceeds 256 bytes. On affected systems, that value can match the stored password field for accounts that have no password. A password between 257 and 1,024 bytes may therefore produce a match instead of a rejection. Alpine says the machine must also have at least one local account with a $5$ or $6$ password hash.
The source report says exploit code appeared about four hours after the fix, citing GreyNoise and BleepingComputer, and GreyNoise recorded a successful break-in on one sensor about 40 hours after the release. CISA added the vulnerability to its list of exploited vulnerabilities on November 9. Those reports signal active exploitation, but do not establish that every vulnerable system has been targeted or compromised.
How admins can assess the OpenSSH SSHole bug
SSHole can bypass password checks in a narrow set of Linux configurations. Check your system, patch OpenSSH, and restart sshd.
When configurations align
Exposure requires several conditions together; a Linux or OpenSSH system is not affected by name alone.
The system uses musl libc.
Password authentication is enabled and password checks do not use PAM.
An account has an asterisk password field, and a local account has a $5$ or $6$ hash.
Why a long password could pass
On affected systems, a musl error value can match the stored field for an account without a password.
Overlong input
A password between 257 and 1,024 bytes may produce the match.
Account access
A remote attacker who can reach SSH may access an affected account without its valid password.
Prioritize local checks
Alpine’s standard openssh-server package is the best-known affected case. Debian, Ubuntu and Red Hat report their OpenSSH builds are not affected.
- Alpine and other musl-based systems
- Embedded builds using Yocto, OpenWrt or Buildroot
- The actual SSH, PAM and account configuration
- Confirm the linked C library and package build
- Follow vendor advisories for package status
- Containers without sshd inside are not affected
Patch, restart and review
Upgrading the package does not replace an sshd process that is already running.
- Install OpenSSH 10.6p2 or a vendor-patched package.
- Restart sshd and confirm the effective configuration.
- If patching must wait, set PasswordAuthentication no.
- Review authentication logs for unexpected access, especially to accounts with an asterisk password field.
Check Exposure Before Attackers Do
The flaw matters most to administrators of Alpine and other musl-based systems that expose SSH to networks. If all the reported conditions apply, a remote attacker who can reach the SSH service may access an account whose password field is an asterisk, without knowing its password. An account with elevated permissions, or one that can become root, could increase the consequences.
The scope is not all Linux servers: systems using glibc, PAM-based password checks, or disabled password authentication are not listed as affected in the advisories summarized by the source. Still, admins of embedded deployments may have less visibility into how their SSH packages were built. A configuration review and package update can help distinguish actual exposure from the broader OpenSSH user base.
Products Worth Considering

Apple Mac mini Desktop Computer with M6 Chip (2026)

FLEXISPOT Electric Adjustable Workbench, 48 x 30 in, Maple

Logitech MX Keys S Combo Wireless Keyboard and Mouse, Graphite
As an affiliate, we earn on qualifying purchases.
How the Password Check Failed
The vulnerability sits at the boundary between OpenSSH and musl’s password-checking behavior. OpenSSH says the root cause is outside sshd, though the issue can be avoided there. Musl maintainer Rich Felker, in a mailing-list response cited by the source, said he considers the problem an erroneous use by the caller rather than a musl bug, and said the mechanism may change in a future release cycle.
The source also reports that the researcher who found the flaw credited “agent swarms” and that OpenSSH said AI agents can rediscover bugs within hours. That is relevant to the speed of discovery and public exploit development, but it does not change the technical test administrators need to apply: the vulnerability requires a specific combination of operating system, library, authentication method and account state.
“An attacker who can reach your SSH port can log in without knowing any password. It takes one connection, works every time, and needs no retries.”
— Alpine Linux advisory
Embedded Builds Need Local Checks
The vulnerability’s full reach across embedded Linux builds remains unclear. Medcrypt reported on the oss-security mailing list on November 9 that it had reproduced the issue on a stock Yocto image, while the source says affected configurations may also occur in OpenWrt and Buildroot. These reports do not show how widely those configurations are deployed.
Admins should not infer exposure from a distribution name alone: the linked C library, PAM use, SSH settings and account password fields all matter. The available material also does not establish how many systems have been compromised. The reported sensor observation and CISA listing indicate exploitation, not a complete count of affected or breached hosts.
Patch, Restart and Review Logs
Administrators should install the fixed OpenSSH 10.6p2 release or a vendor-provided patched package, then restart sshd. Alpine’s guidance stresses that upgrading the package does not replace an already running daemon. For Alpine systems, the source reports fixed packages across supported and older branches; admins should consult the advisory for the package version matching their branch.
If an immediate update is not possible, set PasswordAuthentication no as a temporary mitigation and confirm the effective sshd configuration. Review authentication logs for successful password logins to accounts whose password field is an asterisk, and investigate any unexplained access. Administrators should also check whether affected users can escalate privileges. The next step for operators of embedded images is to verify their build configuration and watch for vendor guidance or updated packages.
Key Questions
What is the OpenSSH SSHole bug?
SSHole, tracked as CVE-2026-123158, is an authentication bypass in certain OpenSSH configurations. A long password can trigger a musl error value that matches an asterisk stored for an account without a password.
Which Linux systems may be affected?
Systems may be affected only when Linux uses musl libc, sshd checks passwords without PAM, password authentication is enabled, an account has an asterisk password field, and at least one local account has a $5$ or $6$ hash. Alpine’s standard openssh-server package is the best-known example in the source material.
Are Debian, Ubuntu and Red Hat affected?
The source reports that Debian, Ubuntu and Red Hat say their OpenSSH builds are not affected. Ubuntu cites its use of glibc and PAM; admins should still follow their distribution’s security advisories for package status.
How should administrators respond?
Install OpenSSH 10.6p2 or the vendor’s patched package, restart sshd, and review relevant authentication logs. If patching must wait, disable password authentication and check for unexpected logins to accounts with an asterisk password field.
Does the vulnerability affect containers?
The source says Docker and other containers that do not run sshd inside the container are not affected by this SSH flaw. A container that runs its own vulnerable sshd should be evaluated against the same configuration conditions.
Source: ThorstenMeyerAI.com
