'*sshole' flaw lets attackers SSH into some Alpine Linux systems without a password
A decade-old flaw in how OpenSSH and the musl C library interact lets attackers log in to passwordless accounts on some Alpine Linux systems. Alpine and OpenSSH have released fixes.
1 / 2
The story, neutrally told
Left · 1A vulnerability named *sshole lets attackers log in over SSH without a password on devices running some configurations of Alpine Linux, and possibly other distributions. Ars TechnicaLC “Devices running some configurations of Alpine Linux, and possibly other distributions, are affected by a decade-old vulnerability that allows attackers to log into devices with no password.” Read at Ars Technica ↗ Mixed · 2The flaw lies in the interaction between OpenSSH and musl, a lightweight alternative to the libc library that Alpine uses, and it applies when OpenSSH is built without PAM (pluggable authentication modules). Ars TechnicaLC “The vulnerability exists in the interaction between OpenSSH, the code library implementing SSH connections, and musl” Read at Ars Technica ↗ ZDNETN “when OpenSSH is built without PAM, it verifies passwords by hashing the password attempt using the C library’s crypt() function.” Read at ZDNET ↗ Centre · 1ZDNET explains the mechanism: when a password is longer than 256 bytes, musl's crypt() returns the string "*" as an error indicator, which is also what the password field holds for an account with no password, so the comparison matches and the login succeeds. ZDNETN “But when a key is longer than 256 bytes, musl’s crypt() function returns the string * as an error indicator.”“Thus, the “hash” matches and the login succeeds, and the attacker walks in.” Read at ZDNET ↗
Mixed · 2Exploitation needs the name of a passwordless account ("*" in /etc/shadow, common for certificate- or key-only accounts) and at least one other active account with a SHA256 or SHA512 password hash. The attacker then sends an oversized password; ZDNET puts the length at 257 to 1,024 bytes. Ars TechnicaLC “First, a system must have at least one user account that’s accessible using a password that is hashed using the SHA256 or SHA512 functions.” Read at Ars Technica ↗ ZDNETN “The attacker also needs at least one other account on the machine with a 5 or 6 password hash, and then to send a password of 257 to 1,024 bytes.” Read at ZDNET ↗ Mixed · 2Alpine maintainers said that an attacker who can reach the SSH port can log in without knowing any password, and that it "takes one connection, works every time, and needs no retries." Ars TechnicaLC ““An attacker who can reach your SSH port can log in without knowing any password,” Alpine maintainers said Thursday.” Read at Ars Technica ↗ ZDNETN “the attack “works every time, and needs no retries.”” Read at ZDNET ↗ Mixed · 2Root accounts are generally protected by OpenSSH's default PermitRootLogin prohibit-password setting, but a reachable account that can become root through doas or sudo still gives an attacker a route to root. Ars TechnicaLC “root accounts are safe under the default PermitRootLogin prohibit password setting” Read at Ars Technica ↗ ZDNETN “Another account that can become root, for example through doas, still gives an attacker a route to root.” Read at ZDNET ↗
Left · 1Ars Technica says the exposure could be large: Alpine's Docker Hub base image has more than 1 billion downloads, and Alpine is common in routers, smart TVs, industrial controllers and other embedded devices that are hard to update. It cites Detectify as saying Shodan lists about 22 million systems with SSH open on port 22, only a fraction of which would meet the conditions. Ars TechnicaLC “The Docker Hub base image for Alpine has more than 1 billion downloads.”“According to security firm Detectify, Shodan lists around 22 million systems with SSH open on port 22.” Read at Ars Technica ↗ Centre · 1Alpine said every release it checked is affected, from 3.16 through 3.24 and edge, and singled out its official tiny-cloud images (3.18.11 through 3.24.3), which ship with a passwordless alpine user with passwordless doas and become exploitable once any SHA-crypt hash exists on the machine. ZDNETN “Alpine said every release it checked is affected: 3.21 through 3.24, edge, and the older 3.16 to 3.20 branches.”“Alpine singled out its official tiny-cloud images, versions 3.18.11 through 3.24.3, as especially vulnerable.” Read at ZDNET ↗ Mixed · 2ZDNET lists other musl-based systems as potentially vulnerable, including Adélie Linux, Void Linux, Sabotage Linux, OpenWrt and the Yocto Project, and says Wind River is assessing the issue. Ars Technica says the discoverer named OpenWrt, buildroot and yocto, but only buildroot and yocto are unconfirmed there, and OpenWrt uses Dropbear rather than OpenSSH by default. Distributions using glibc, such as Debian, Ubuntu and Fedora, are not affected, according to ZDNET. ZDNETN “Other operating systems that use musl and are potentially vulnerable include Adélie Linux; Void Linux; Sabotage Linux; OpenWrt”“so Debian, Ubuntu, Fedora, etc., aren’t affected.” Read at ZDNET ↗ Ars TechnicaLC “but by default, that OS uses the Dropbear package, not OpenSSH, for SSH connections” Read at Ars Technica ↗
Left · 1Responsibility for the bug is unsettled. OpenSSH said it considers the root cause "outside sshd" but that the bug can be avoided there, while musl developer Rich Felker said it is "not a bug in musl just an erroneous use by the caller", though musl planned to change the mechanism in an upcoming release. Ars TechnicaLC ““We consider the root cause of this bug to be outside sshd, but it is exploitable via sshd and can be avoided there.””““It is my position that this is not a bug in musl just an erroneous use by the caller.”” Read at Ars Technica ↗ Mixed · 2Fixes arrived on Thursday: OpenSSH 10.6p2 avoids the problem in sshd, and Alpine released 3.21.10, 3.22.8, 3.23.8 and 3.24.4 plus fixed packages back to 3.16. Administrators are told to run apk upgrade -U -a and restart sshd, because upgrading the package does not replace the running daemon. ZDNETN “Alpine released 3.21.10, 3.22.8, 3.23.8 and 3.24.4 on Thursday, with the OpenSSH fix among the security changes.”“You should run apk upgrade -U -a and then restart the daemon with rc-service sshd restart.” Read at ZDNET ↗ Ars TechnicaLC “Alpine has also issued an update.” Read at Ars Technica ↗ Centre · 1Those who cannot update should set PasswordAuthentication no after confirming key login works, and Alpine advised checking /var/log/messages for "Accepted password for" lines naming a passwordless account, adding: "If you cannot rule out a login, treat the machine as compromised." ZDNETN “Anyone who cannot update should set PasswordAuthentication no and restart sshd, after confirming that key login works.”““If you cannot rule out a login, treat the machine as compromised.”” Read at ZDNET ↗
Mixed · 2The coverage differs on the identifier: Ars Technica says there is no known CVE designation, while ZDNET quotes a LinkedIn post by security engineer Gregory Bryant citing CVE-2026-123158. ZDNET attributes the discovery, dated to 2016, to the *sshole group. Ars TechnicaLC “There is no known CVE designation for the vulnerability.” Read at Ars Technica ↗ ZDNETN “(CVE-2026-123158)”“According to *sshole, the group that uncovered the problem, this is a side effect that has been hiding since 2016.” Read at ZDNET ↗
Every sentence links to the reporting it rests on. The pill in front of each says where its sources sit: Left, Centre or Right when one side supplies at least half of them, Mixed when they are evenly split. The number is how many outlets it cites.
Left1 outlet
- Framing
- Ars Technica presents a news explainer on the conditions needed for exploitation, the potential scale and the unresolved question of which project is at fault.
- Emphasis
- Prerequisites, scale (Docker Hub downloads, embedded devices, Shodan counts), and uncertainty over affected packages and root cause.
- Leaves out or plays down
- Gives no specific patched version numbers or step-by-step remediation commands.
- For example
-
“Despite the prerequisites, *sshole—the vulnerability name given by the person who discovered it—likely threatens large numbers of systems.” — Ars Technica
“It’s not entirely clear where the vulnerability resides.” — Ars Technica
Centre1 outlet
- Framing
- ZDNET frames it as an urgent, worst-case security hole, with technical explanation and practical patching advice.
- Emphasis
- Severity, the crypt() mechanism, affected Alpine releases and tiny-cloud images, exact upgrade commands and detection steps.
- Leaves out or plays down
- Does not mention the dispute between OpenSSH and musl over responsibility, or the scale figures Ars Technica gives.
- Charged language
- “as bad as it can get”“perfect nightmare scenario”
Right0 outlets
No right outlet in our sources has covered this story yet.
What every side reports
- The flaw lets attackers log in over SSH without a password to passwordless accounts on some Alpine Linux systems using OpenSSH without PAM and musl.
- Alpine and OpenSSH released fixes on Thursday.
- Root is protected by default, but accounts that can escalate to root via doas or sudo remain a route.
- Administrators are urged to patch immediately.
Where accounts differ
-
Whether the vulnerability has a CVE identifier
- Left
- Ars Technica says there is no known CVE designation.
- Centre
- ZDNET quotes a LinkedIn post citing CVE-2026-123158.
-
Where the bug resides
- Left
- Ars Technica reports OpenSSH places the root cause outside sshd, while musl's Rich Felker says it is not a musl bug but misuse by the caller.
- Centre
- ZDNET attributes the failure to musl's crypt() returning "*" on error, which glibc avoids by returning NULL.
Alpine Linux product
Alpine maintainers warn that an attacker who can reach the SSH port can log in in one connection, have released fixed versions, and tell administrators to treat a machine as compromised if they cannot rule out a login.
““It takes one connection, works every time, and needs no retries.”” — Ars Technica
““If you cannot rule out a login, treat the machine as compromised.”” — ZDNET
OpenSSH product
OpenSSH issued an update and says the root cause is outside sshd, though the bug is exploitable through it and can be avoided there.
““We consider the root cause of this bug to be outside sshd, but it is exploitable via sshd and can be avoided there.”” — Ars Technica
“The just-released OpenSSH 10.6p2 avoids the problem in sshd.” — ZDNET
Left1 article
-
Meet *sshole, the vulnerability that lets hackers SSH into Linux devices
Neutral Measured explainer of conditions, scale and unresolved blame, urging investigation and patching.

Centre1 article
-
ZDNETN ·
Alpine Linux and OpenSSH patch flaw that’s as bad as it can get
Alarmist Treats the flaw as a worst-case emergency while giving detailed technical and remediation guidance.

Right0 articles
No coverage yet.
- 5 Nov 23:09 First Ars TechnicaLC Meet *sshole, the vulnerability that lets hackers SSH into Linux devices
- 7 Nov 00:00 +24h 51m ZDNETN Alpine Linux and OpenSSH patch flaw that’s as bad as it can get
Times are when each article was published, or when we first saw it if the outlet gave no time.
Ask about this story
Loading…