🔍 Read the full analysis: What The SSHole Bug Reveals About OpenSSH Password Handling on ThorstenMeyerAI.com
TL;DR
The SSHole flaw, tracked as CVE-2026-123158, can allow password-free access to certain accounts on Linux systems using musl, OpenSSH without PAM and password authentication. OpenSSH released a fix in version 10.6p2 on Nov. 5, 2026; exploit code appeared hours later, and CISA added the vulnerability to its exploited list. Systems outside the specific configuration are not affected according to the cited advisories, but embedded Linux deployments may need closer review.
OpenSSH released version 10.6p2 on Nov. 5 to fix CVE-2026-123158, a password-authentication flaw that can let an attacker reach certain accounts without a valid password on systems using Linux with musl libc, OpenSSH without PAM and enabled password logins. The issue, called “SSHole” by its finder, is rated 8.1, or High; exploit code became public about four hours after the fix, according to GreyNoise and BleepingComputer.
The bypass depends on how OpenSSH handles a failed password-hash operation in one specific setup. Alpine Linux’s advisory says musl’s crypt() function returns an asterisk when an input password exceeds 256 bytes. On affected systems, that result can match the asterisk stored in an account’s password field when the account is configured without a password. OpenSSH may then treat the comparison as a match. The reported input range is 257 to 1,024 bytes.
Alpine says the affected machine must also have at least one local account with a $5$ or $6$ password hash, which provides a salt used in the check. An account whose field is an asterisk may be a key-only user or another account set up without password login. The precise exposure depends on all the conditions being present; the flaw is not a general bypass against every OpenSSH server.
GreyNoise reported seeing a first successful intrusion on one of its sensors about 40 hours after OpenSSH released the fix. CISA added the vulnerability to its Known Exploited Vulnerabilities list on Nov. 9, according to the source material. Administrators are advised to install a fixed OpenSSH package and restart the SSH daemon; if patching cannot happen immediately, the stated mitigation is to set PasswordAuthentication no and review logs for suspicious password logins.
What SSHole Reveals About OpenSSH Password Handling
A password bypass affects a specific combination of Linux, musl and OpenSSH settings. Prompt patching matters for systems that meet every condition.
When the conditions align
The bypass requires a specific stack and account setup; it is not a universal OpenSSH flaw.
Linux must use musl, with OpenSSH checking passwords without PAM.
PasswordAuthentication must be enabled, and an account must have an asterisk in its password field.
Another local account must have a $5$ or $6$ password hash.
Why a long password matters
A hashing error can resemble the marker for an account with no password.
- For input over 256 bytes, crypt() returns an asterisk as an error indicator.
- The reported input range is 257 to 1,024 bytes.
- An asterisk may also be stored for an account without a password.
- The comparison can be treated as a match in the affected setup.
Exposure varies by system
Distribution advisories narrow the impact, while some embedded deployments still need direct verification.
| System or setup | What the supplied advisories say |
|---|---|
| Alpine Linux standard server package | Prominent affected case when all conditions are present |
| Debian, Ubuntu and Red Hat builds | Reported as not affected or unimportant for their packages |
| OpenWrt, Buildroot and Yocto | Check the actual libc, OpenSSH build and settings |
| glibc, PAM checks, disabled password login, Dropbear, or no sshd | Listed as not affected |
Patch, restart and review
Operators of qualifying systems can reduce exposure and check whether suspicious logins occurred.
- Install OpenSSH 10.6p2 or a distribution-provided fixed package.
- Restart sshd; upgrading alone does not replace the running daemon.
- If patching is delayed, set PasswordAuthentication no.
- Review logs for password logins to accounts configured without a password, and check whether those accounts can gain elevated privileges.
Why the Configuration Matters
The issue shows how a failure value from one software component can become dangerous when another component interprets it as valid authentication data. Here, a string used by musl to indicate a hashing error can coincide with the value used to mark an account as having no password. OpenSSH’s advisory places the root cause outside sshd but says the behavior is exploitable through sshd and can be avoided there.
For administrators, the practical concern is configuration-specific exposure rather than a universal OpenSSH emergency. Alpine’s standard server package is a prominent affected case, while the supplied advisories say Debian, Ubuntu and Red Hat builds are not affected. But the rapid appearance of public exploit code and GreyNoise’s observed intrusion make prompt patching relevant for systems that meet the conditions, including small or embedded deployments that may be less visible to central security teams.
The flaw can also affect the security of accounts beyond the one directly reached. Alpine warns that an attacker who logs in as a user able to gain elevated privileges—for example through passwordless doas—could potentially reach root. That warning is especially relevant to specified Alpine cloud images, though Alpine says they become exploitable only once a qualifying password hash is present.
Popular right now

Ninja Luxe Café Premier 3-in-1 Espresso Machine, Drip Coffee Maker, and Cold Brew Maker

Samsung 65-Inch The Frame LS03F 4K QLED Smart TV (2025)

KitchenAid Artisan 5-Quart Tilt-Head Stand Mixer, Almond Cream
As an affiliate, we earn on qualifying purchases.
How SSHole Reaches Account Checks
SSH servers commonly rely on account information and password-hashing functions to decide whether a submitted credential is valid. In the affected path, OpenSSH checks passwords without PAM and uses the system C library’s crypt() function. The unusual result occurs when a very long password makes musl return an error indicator that resembles the stored marker for an account with no password.
According to Alpine’s advisory, all relevant conditions must coincide: Linux using musl; sshd checking passwords without PAM; PasswordAuthentication enabled; an account with an asterisk in its password field; and another local account with a qualifying $5$ or $6$ hash. Alpine is the best-known example, while the researcher also named OpenWrt, Buildroot and Yocto. The source material says non-Linux systems, glibc-based Linux, PAM-based checks, disabled password authentication, Dropbear and containers that do not run sshd are not affected.
Major distribution statements narrow the expected impact. Ubuntu says its OpenSSH is linked against glibc and uses PAM, and is not vulnerable. Red Hat says its products are not affected. Debian’s tracker classifies the issue as unimportant for its packages and lists the upstream fix in its unstable branch. However, Medcrypt reported on the oss-security mailing list on Nov. 9 that it reproduced the issue on a stock Yocto image, leaving some embedded deployments in need of direct verification.
“musl’s crypt() returns the string * as an error indicator when the key is over 256 bytes long. * is also exactly what the stored field contains for every account with no password.”
— Alpine Linux security advisory
Embedded Linux Exposure Still Varies
The available material does not establish how many systems were vulnerable or how widespread successful exploitation has been. GreyNoise’s reported observation was one successful break-in on one sensor, not a measure of total attacks. The exact configuration of other potentially affected OpenWrt, Buildroot and Yocto deployments also remains unclear; device makers and operators will need to check their libc, OpenSSH build, PAM use and password settings.
Responsibility for the underlying behavior is disputed. OpenSSH describes the root cause as outside sshd, while musl maintainer Rich Felker calls it an erroneous use by the caller. Felker said the mechanism may change in an upcoming release cycle, but the source does not specify when or what change will be made. The supplied material also does not provide a complete account of affected package versions across every distribution and embedded product.
Patch and Review SSH Logs
Administrators whose systems meet the listed conditions should install OpenSSH 10.6p2 or a distribution-provided fixed package and restart sshd. Alpine says fixed packages were published for its branches from edge back to 3.16, including some branches no longer receiving regular updates. It cautions that upgrading the package alone does not replace the daemon already running, so the service must be restarted.
Where an update is not immediately available, the recommended temporary step is to disable password-based SSH authentication with PasswordAuthentication no. Administrators should then inspect authentication logs for password logins to accounts configured without a password and review whether any such account can gain elevated privileges. Operators of embedded systems should confirm the actual software and configuration rather than infer exposure from the product name alone.
Further developments to watch include distribution and device-vendor advisories, the status of any musl change, and additional evidence about exploitation. The source material does not identify a broader confirmed victim count or a timeline for those updates.
Key Questions
What is the SSHole vulnerability?
CVE-2026-123158 is a password-authentication bypass in a specific OpenSSH setup. An overlong password can cause musl’s hashing function to return a value that matches the marker stored for an account with no password.
Which systems may be affected?
According to Alpine’s advisory, exposure requires Linux with musl, sshd checking passwords without PAM, password authentication enabled, an account whose password field is an asterisk, and another local account with a $5$ or $6$ hash. Alpine is a known example; some embedded Linux systems may also warrant checking.
Are Debian, Ubuntu and Red Hat affected?
The cited statements say their OpenSSH builds are not affected: Ubuntu cites glibc and PAM, Red Hat says its products are not affected, and Debian’s tracker treats the issue as unimportant for its packages. Administrators should still follow their distribution’s own security guidance.
How should administrators respond?
Install OpenSSH 10.6p2 or the relevant vendor fix, then restart sshd. If that is not possible immediately, disable password authentication and check logs for suspicious password logins to accounts without passwords.
Does the vulnerability affect every SSH server?
No. The reported conditions are narrow. The source material says systems using glibc, PAM-based password checks, disabled password authentication, non-Linux systems, Dropbear and containers that do not run sshd are not affected by this issue.
Source: ThorstenMeyerAI.com